GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — type casting between u16 and i32 needed · Issue #2170 · lcompilers/lpython Closed Labels BLOCKERworkaround not found yetworkaround not found yet Descriptionwe expected to be able to convert 32768, which is i32, into u16. please help from lpython import u16, i32 i : i32 u : u16 = u16(32768) x : i32 for i in range(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). ActivityMetadataMetadataAssigneesLabelsBLOCKERworkaround not found yetworkaround not found yet TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |