Nipuna Fernando

Results 67 issues of Nipuna Fernando

## Purpose The current Testerina implementation is only compatible with the jBallerina backend. Hence, the code should be migrated to Ballerina to increase the maintainability and have a shared code...

**Description:** If the same function pointer is passed as two different parameters to a function, then there are not equal under the `===` operator. **Steps to reproduce:** The output of...

Type/Bug
Team/jBallerina

### Description $title. Note that this issue cannot be reproduced when the respective expression node is within the default module. ![image](https://github.com/ballerina-platform/ballerina-lang/assets/59343084/fe1734b7-869b-46c5-a037-cc6febe00566) The node information is shown below: ![image](https://github.com/ballerina-platform/ballerina-lang/assets/59343084/54b161f4-906c-46b6-9735-58eb164e7b63) ### Steps...

Type/Bug
Priority/High
Team/CompilerFETools
Area/SemanticAPI

## Purpose Currently, the respective CA only supports text edits to fix the diagnostics: `BCE3946` and `BCE3947`. With this PR, the CA provides the necessary text edits to solve `BCE3950`...

Team/LanguageServer

## Purpose As mentioned in the [spec](https://ballerina.io/spec/lang/master/#section_6.4), structural constructors are allowed as long as their subexpressions are also constant. However, as mentioned in https://github.com/ballerina-platform/ballerina-lang/issues/41979, an invalid diagnostic is produced when...

Team/CompilerFE

### Description The error `expression is not a constant expression (BCE3504)` is generated for the following code when using a constant array within a spread operator for the context of...

Type/Bug
Area/Compiler
Team/CompilerFE
Crash
Reason/EngineeringMistake

### Description We can make the following improvements to the respective method: 1. Convert the if statements to a switch statement for better readability and performance. 2. Extract the expression...

Type/Improvement
Area/Compiler
Team/CompilerFE

### Description The respective CA is not provided when we execute a non-isolated function within a lock statement, as shown below. ![image](https://github.com/ballerina-platform/ballerina-lang/assets/59343084/11e28d12-3a97-4a4d-a4b0-1a90ff8f4491) ### Steps to Reproduce ```ballerina isolated int i...

Type/Bug
Team/LanguageServer
Area/CodeAction
Reason/Other

## Purpose The PR introduces two CAs as described [here](https://github.com/ballerina-platform/ballerina-lang/issues/42314#:~:text=Describe%20your%20solution(s)). Fixes #42314 ## Approach The behavior of the two PRs can be summarized as follows: 1. The `Change isolated field...

Team/LanguageServer

### Description The current implementation provides the string value as the default for an enum field upon the `Fill required fields` CA. Ideally, it should provide the respective variable reference...

Type/Improvement
Team/LanguageServer
Area/CodeAction