-
- Downloads
py: Make viper codegen raise proper exception (ViperTypeError) on error.
This fixes a long standing problem that viper code generation gave terrible error messages, and actually no errors on pyboard where assertions are disabled. Now all compile-time errors are raised as proper Python exceptions, and are of type ViperTypeError. Addresses issue #940.
Showing
- py/compile.c 4 additions, 4 deletionspy/compile.c
- py/emit.h 4 additions, 4 deletionspy/emit.h
- py/emitnative.c 55 additions, 30 deletionspy/emitnative.c
- py/modbuiltins.c 3 additions, 0 deletionspy/modbuiltins.c
- py/obj.h 1 addition, 0 deletionspy/obj.h
- py/objexcept.c 4 additions, 0 deletionspy/objexcept.c
- py/qstrdefs.h 3 additions, 0 deletionspy/qstrdefs.h
Loading
Please register or sign in to comment