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
Seems ellipsis is improperly treated as an expression in this circumstance.
@dataclassclassMultiplicityNode:
"""foo"""
... # doesn't work in LPython ; does work in CPython --- LPython treats as expression?pass# works
semantic error: Only doc strings allowed as expressions inside class
--> /Users/brian/CLionProjects/lpython/lasr/LP-pycharm/lasr_parser.py:91:5
|
91 | ... # doesn't work --- treated as expression?
| ^^^
Activity