ballerina-lang
ballerina-lang copied to clipboard
The Ballerina Programming Language
```ballerina import ballerina/io; public function main() { io:println(1f === 1d); } ``` Above program prints `true` in 2201.2.3 but `false` in `2201.3.0`. In `2201.3.0`, value is equivalent to `1.0d`.
**Description:** $title. Works if the logic is extracted out to a function. **Steps to reproduce:** ```ballerina import ballerina/io; type Employee record {| string name; decimal salary; |}; function filterEmployees(Employee[] employees,...
I followed the steps from the repo's README.md to build on Windows. I'm using latest version of JDK 8. I get three test failures all in ballerina-toml-parser-test-suite: 1. ManifestProcessorTest. testMultipleDependencies...
**Description:** The following test cases are failing in Windows. Failing with error `java.lang.NumberFormatException: For input string: "sers"` - org.ballerinalang.toml.ManifestProcessorTest > testMultipleDependencies - org.ballerinalang.toml.ManifestProcessorTest > testSingleDependencies These two are failing because...
Decided to check the feasibility of $subject by following the below steps. - Keep track of langlibs being used from source - Keep map of transitive depencies - Update dependency...
### Description $subject. Noticed :jballerina-debugger-integration-test:test failure in master quite frequently in recent times. Has to trigger the builds mutiple times to get the build passed. Sample: https://github.com/ballerina-platform/ballerina-lang/actions/runs/6859271233/job/18651316246?pr=41683 1. ``` debugger-intg-test-suite...
### Description The trivy scanner identified the following security vulnerabilities for the Ballerina 1.2.45 release build.  `CVE-2021-38153` - from kafka-clients-2.3.1.jar and kafka_2.11-2.3.1.jar is fixed by https://github.com/ballerina-platform/ballerina-lang/pull/41595 and need to...
Let say the below code is in a separate module. ```ballerina public type Error1 distinct error; type Error2 distinct error; type NonPublicError int|Error2; public function getValueOrError4() returns NonPublicError|Error1 => 1;...
### Description Implement a new code action `Add arguments to match "functionName(param1, param2)"` to insert default values for any missing arguments. This is similar to the `Fill "RecordName" required fields`...