Open lochana-chathura opened 8 months ago
- Also notice, variables that are listed already;
pos
,neg
, andd
, only the name is showing. Cannot expand those values and see what's inside.
Apparently, this is not specific to this scenario. Hence, extracted to a separate issue #42848
Did some testing and this seems to be an issue in the Ballerina runtime, where the variable and line number tables not getting updated properly for binding pattern variables.
Created https://github.com/ballerina-platform/ballerina-lang/issues/43623 to track the progress of the fixes from the compiler runtime side.
Description
$subject.
As you can observe in the following screenshot, binding pattern variables
name
,index1
,postType
,negType
are not listed under the local variables on the left window.Also notice, variables that are listed already;
pos
,neg
, andd
, only the name is showing. Cannot expand those values and see what's inside.Steps to Reproduce
record-t.bal
test file.Affected Version(s)
2201.8.5 at least
OS, DB, other environment details and versions
MacOS