lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.5k stars 163 forks source link

fixes semantic error for int (Issue #1926) #2476

Closed NishantBansal2003 closed 8 months ago

NishantBansal2003 commented 9 months ago

Issue Link: #1926

Changes: Introduces a clear error message:

Semantic Error: 'int' type is not supported yet.

Context: As discussed in this comment, this improvement enhances the usability of LPython.

NishantBansal2003 commented 9 months ago

Resolved Issue #1926 by refining the semantic error message for 'int'.

Changes: Improve 'int' semantic error message with a hint." Additionally, added a reference test.