float:fromHexString throws an error when used #32220
Labels
NBalNeeds
Priority/Blocker
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Description:
float:fromHexString
function throws the following errorerror: {ballerina}TypeCastError {"message":"incompatible types: 'handle' cannot be cast to '(float|error)'"} at ballerina.lang.float.1_0_0:fromHexString(float.bal:367)
Steps to reproduce:
It gives the same error with or without the 0x prefix (as used in
int:fromHexString
)Affected Versions:
Ballerina Swan Lake Beta 2
Language specification 2021R1
Update Tool 1.3.5
OS, DB, other environment details and versions:
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered: