Skip to content
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

[WIP] Minimal failing example #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[WIP] Minimal failing example #1

wants to merge 1 commit into from

Conversation

DreierF
Copy link
Owner

@DreierF DreierF commented Jan 10, 2020

Tries to use dynamic import but fails with

ERROR in closure-compiler: java.lang.IllegalArgumentException: expected one element but was: <app.67ce8540, es6-lazy.e2134c67, commonjs-lazy.28f759a0, 4.a2ce9d3a>
        at java.lang.Throwable.<init>(Throwable.java:265)
        at java.lang.Exception.<init>(Exception.java:66)
        at java.lang.RuntimeException.<init>(RuntimeException.java:62)
        at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:52)
        at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:316)
        at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:254)
        at com.google.javascript.jscomp.JSModuleGraph.getRootModule(JSModuleGraph.java:307)
        at com.google.javascript.jscomp.AnalyzePrototypeProperties.<init>(AnalyzePrototypeProperties.java:125)
        at com.google.javascript.jscomp.CrossChunkMethodMotion.<init>(CrossChunkMethodMotion.java:87)
        at com.google.javascript.jscomp.DefaultPassConfig$86.create(DefaultPassConfig.java:2673)
        at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:310)
        at com.google.javascript.jscomp.PhaseOptimizer$Loop.process(PhaseOptimizer.java:455)
        at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:231)
        at com.google.javascript.jscomp.Compiler.performOptimizations(Compiler.java:2378)
        at com.google.javascript.jscomp.Compiler.lambda$stage2Passes$1(Compiler.java:793)
        at com.google.javascript.jscomp.Compiler$$Lambda$474/473740926.call(Unknown Source)
        at com.google.javascript.jscomp.CompilerExecutor$2.call(CompilerExecutor.java:102)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:475)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:199)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant