Closed
Description
Big blocker for some system code I'm writing
from lpython import u16
FLAG : u16 = u16(u16(1) << u16(0))
/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:3:1
|
3 | FLAG : u16 = u16(u16(1) << u16(0))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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).
Process finished with exit code 3