ballerina-lang
ballerina-lang copied to clipboard
The Ballerina Programming Language
### Description As shown below, the correct CA is to change the variable type from `boolean` to `string`. Instead, there is a redundant CA `Change return type to 'error'` that...
### Description The panics will terminate the program abruptly. So they will not start the graceful shutdown sequence. Anyway currently even a panic in the main allows to execute the...
### Description As shown below, a function call completion item is provided for a context that expects a function pointer. ### Steps to Reproduce Prompt completion items for the following...
### Description Executing the respective CA as shown below makes no changes to the code. Ideally, this CA should not be provided as it cannot determine the return type of...
### Description It would be convenient for the user to provide a diagnostic-based CA for `unused variable 'e' with inferred type including error (BCE3998)`, as it is not compulsory to...
### Description For scenarios that can change an if-else block to a ternary expression, the LS should provide a CA to the user to perform the respective action. Providing this...
### Description The function snippet generated for a library function under an isolated variable does not contain the `isolated` keyword, and hence, the CA produces erroneous code. Please refer to...
**Description:** ``` import ballerina/http; service on new http:Listener(0) { } ``` As shown above, the auto-complete snippet generates the service with the port 0. Instead shall we provide a port...
### Description When users declare new types as unions of literal values, they often need to extract these literals as constants for reuse throughout their codebase. However, our current code...
## Purpose $subject With this PR, a new annotation is introduced to annotate ballerina type definitions which are accessed through external Java dependencies. Fixes #42205 ## Approach This new annotation...