ballerina-lang
ballerina-lang copied to clipboard
The Ballerina Programming Language
### Description $subject ### Steps to Reproduce ```ballerina import ballerina/io; public function main() { xml res = xml ` Dynamic Table `; io:println(res); } ``` The above crashes at compilation...
## Purpose Fixes #41262 ## Approach As per spec https://ballerina.io/spec/lang/master/#section_7.24.2, 1. The statement-block must contain at least one commit-action. In addition, the compiler must be able to verify that any...
## Purpose > Describe the problems, issues, or needs driving this feature/fix and include links to related issues. Fixes #41691 Fixes #41766 Fixes #41818 ## Approach > Describe how you...
### Description $ subject Following is an example in mock.bal ```ballerina if (self.functionName == "") { error err = error("function to mock is not specified."); panic err; } ``` ###...
### Description Currently, the bal run does not generate the executable which is not consistent with the behavior in bal build + java -jar execution flow. This resulted in unexpected...
### Description $title ```bal import ballerina/test; @test:Config{} function func1() { foo(); } function foo() { bar(); } function bar() { foobar(); } function foobar() { panic error("err"); } ``` For...
## Purpose $title. Fixes #42654 ## Approach > Describe how you are implementing the solutions along with the design details. ## Samples > Provide high-level details about the samples related...
### Description $subject.
### Description Support marking a particular Java platform dependency as GraalVM compatible in the `Ballerina.toml`: ```toml [[platform.java17.dependency]] groupId = "io.ballerina.openapi" artifactId = "client-native" version = "1.9.0" graalvmCompatible = true ```...
### Description $subject ### Describe your problem(s) _No response_ ### Describe your solution(s) _No response_ ### Related area -> Compilation ### Related issue(s) (optional) _No response_ ### Suggested label(s) (optional)...