From 3.9.1 a compiler bug?
See original GitHub issueReproduction: https://github.com/igneosaur/sveltejs-template/tree/terser-compress-await-bug
@igneosaur opened https://github.com/sveltejs/template/issues/59 thinking it was terser
.
If you clone and change sveltejs from 3.9.1
to 3.9.0
it works fine.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Can't install 3.9.1 on M1 with GCC 12: "error: implicit ... - GitHub
The immediate cause is that we include XCode SDK into INCLUDE_PATH -- which breaks compilers incompatible with it. But then the compilation ...
Read more >Pyenv and Python 3.9.1. - BUILD FAILED on Big Sur
1': configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile ...
Read more >CMAKE 3.9.1 AIX CMakeCommonCompilerMacros error ...
1 AIX CMakeCommonCompilerMacros error CMAKE_C_STANDARD_COMPUTED_DEFAULT should be set for XL. I was using cmake 3.7.2 and upgraded to 3.9.1 ( ...
Read more >CHANGES.md.html · js_of_ocaml-ocamlbuild 3.11.0 · OCaml ...
Compiler from OCaml bytecode to JavaScript ... 3.9.1 (2021-02-17) - Lille ... Compiler: fix bug generating invalid javascript for if-then construct (#1046).
Read more >Built-in Functions — Python 3.11.1 documentation
Compiler flags can be found in ast module, with PyCF_ prefix. ... as a suite of Python statements which is then executed (unless...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It looks to me like a terser bug involving invalid inlining of a function call.
is turning into
I haven’t tracked down what about the output changed between Svelte 3.9.0 and 3.9.1 to cause this to happen, but it does appear to be a bug in Terser.
The Terser bug was fixed in 4.3.2.