-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Terser "cannot read property print of undefined" #14525
Comments
Perhaps you are hitting a bug in terser. If this isn't a regression from an earlier version, can you provide a testcase? |
Noticed the same when testing #11066 (comment). Here's a reduced test case: #include <emscripten.h>
EM_JS(int, test, (), {
var bigint = 1 & 0xffffffffn;
//var bigint = 1 & BigInt(0xffffffff);
return bigint;
});
int main() {
test();
return 0;
} emcc -O2 test.c Looks like it's failing on that BigInt's |
Thanks @kleisauke! I hadn't realized it was the BigInt suffix causing the trouble. For now I can just avoid that syntax. |
This looks like a duplicate of issue #13297. |
I've been getting the following error during linking for the last few days. It occurs both with emsdk version 20.0.16 and 20.0.24.
I can make it go away by commenting out the following lines in the definition of
phase_binaryen
inemcc.py
:The text was updated successfully, but these errors were encountered: