[Bug]: CloneWithType
throws conversion error with union type
#41930
Labels
Priority/Blocker
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Milestone
Description
The above program return error as
When we change the type as
The above program works fine.
The issue arises when selecting a convertible type for
extCoding
variable.ballerina-lang/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/ValueConverter.java
Line 106 in b2c2c42
This works in version
2201.7.0
but gives error in version2201.8.4
.Steps to Reproduce
No response
Affected Version(s)
2201.8.4
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: