-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assert not working as expected #482
Comments
related to #23 |
You need the
I've tested:
It prints:
Many things in Transcrypt are optional, to prevent bloat of the generated JavaScript. http://www.transcrypt.org/docs/html/installation_use.html#available-command-line-switches Some features are (also) controlled by pragma's (compiler directives): http://www.transcrypt.org/docs/html/special_facilities.html#the-pragma-mechanism If this works for you and if you find the time please also pose this question on stackoverflow, using the |
It works ! |
Fine, thanks for putting the question on SO. |
Here is the python code I transcrypted with
transcrypt -b -n -m
(version 3.6.84) :When I run test_1/test_2 it in the browser console, I get a strange behavior :
Why no exception are raised with assert ?
The text was updated successfully, but these errors were encountered: