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
we expected to be able to convert 32768, which is i32, into u16. please help
fromlpythonimportu16, i32i : i32u : u16=u16(32768)
x : i32foriinrange(i32(u)):
x=i*2
/Users/brian/CLionProjects/lpython/src/bin/python /Users/brian/CLionProjects/lpython/lasr/LP-pycharm/IssueCH152.py
code generation error: Variable type not supported 1
--> /Users/brian/CLionProjects/lpython/lasr/LP-pycharm/IssueCH152.py:4:1
|
4 | u : u16 = u16(32768)
| ^^^^^^^^^^^^^^^^^^^^
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that must be fixed).
The text was updated successfully, but these errors were encountered:
we expected to be able to convert 32768, which is i32, into u16. please help
The text was updated successfully, but these errors were encountered: