ballerina-lang
ballerina-lang copied to clipboard
The Ballerina Programming Language
### Description Currently, Ballerina logs only supports (name=value) pair based format and json format. However, it is necessary to have the log format configurable (e.g. via a log4j config file)...
### Description $subject ### Describe your task(s) As the execution of `assert` statements is controlled by JVM arguments, using them in the codebase is not recommended. https://github.com/ballerina-platform/ballerina-lang/blob/c79ac50f6ab566fd1e903285160ba5d5e6256bd8/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/bir/codegen/split/JvmCreateTypeGen.java#L610 ### Related area...
### Description The following UTF-8 sequence is not correctly handled and it is also handled differently if it is received as a payload from http or put into ballerina source...
**Description:** ```bal public function main() { (1|2|3)[] ar = 3; // incompatible types: expected '1|2|3[]', found 'int' } ``` As with type precedence, `'1|2|3|[]'` means `1|2|(3[])`. Correct error msg should...
**Description:** $subject ```ballerina type X xml; type XE xml; type XP xml; type XC xml; type UX XE|XP|XC|xml:Text; ``` In the current implementation, X is identified as a subtype of...
## Purpose Adds @Nullable annotations where null values are passed as arguments or assigned to variables. Fixes #43386 ## Approach Let IntelliJ generate the @Nullable annotations based on its static...
### Description Stacktrace: ``` [2024-07-28 00:40:45,233] SEVERE {b7a.log.crash} - Cannot invoke "java.util.List.stream()" because "equivalentErrorTypes" is null java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because "equivalentErrorTypes" is null at org.wso2.ballerinalang.compiler.desugar.Desugar.getSafeErrorAssignment(Desugar.java:9745) at org.wso2.ballerinalang.compiler.desugar.Desugar.visitCheckAndCheckPanicExpr(Desugar.java:8719) at org.wso2.ballerinalang.compiler.desugar.Desugar.visit(Desugar.java:8663)...
**Description:** When using vscode with HTML and JavaScript, when we hover over html tags, it shows the `MDN Reference` link in the hover documentation.  Something similar...
### Description As per the current implementation when a `RegExp` patterns with interpolation have errors with interpolated pattern we are only printing the interpolation substring pattern only. This is not...
### Description Ballerina `regex:split()` function behave differently than Javascript `regex:split()` function for empty regex patterns such as * re \`()` * re \`${""}` * re \`a|` Since Ballerina regular expressions...