poor error message with unknown exception in try/except #193

Closed
opened 2022-02-13 12:41:46 +08:00 by sb10q · 1 comment
try:
  pass
except InexistingException:
  pass

fails with this undebuggable error:

RuntimeError: nac3 compilation failure: unknown type
``` try: pass except InexistingException: pass ``` fails with this undebuggable error: ``` RuntimeError: nac3 compilation failure: unknown type ```
Poster
Owner

Now:

RuntimeError: nac3 compilation failure: 
----------
Unknown type annotation at /home/sb/nac3/nac3artiq/demo/demo.py: line 18 column 16: Undefined identifier `InexistingException`
Now: ``` RuntimeError: nac3 compilation failure: ---------- Unknown type annotation at /home/sb/nac3/nac3artiq/demo/demo.py: line 18 column 16: Undefined identifier `InexistingException` ```
sb10q closed this issue 2022-02-22 16:16:25 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#193
There is no content yet.