You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enumMyEnumFIRST_PROP=1MY_SECOND=2THIRD_ROCK=3FFFFOUR=4THE_FIFTH=5end enumsubEnumTest()
' inferred type looks right, but pushing new items seems to be brokenarr= [MyEnum.FIRST_PROP]
arr.push(MyEnum.MY_SECOND)
' forcing the type on LHS worksarr2asMyEnum[] = [MyEnum.FIRST_PROP]
arr2.push(MyEnum.MY_SECOND)
' doesn't seem to happen with other typesarr3= ["str"]
arr3.push("something else")
end sub
The text was updated successfully, but these errors were encountered:
bsc-1.0.0-alpha.39
The text was updated successfully, but these errors were encountered: