Created
November 8, 2021 22:21
-
-
Save soronpo/02eb948308924791bb603866bbfc59a0 to your computer and use it in GitHub Desktop.
Metals error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
Exception in thread "pool-5-thread-2" java.lang.AssertionError: assertion failed: asTerm called on not-a-Term val <none> | |
at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8) | |
at dotty.tools.dotc.core.Symbols$Symbol.asTerm(Symbols.scala:163) | |
at dotty.tools.dotc.ast.tpd$.New(tpd.scala:494) | |
at dotty.tools.dotc.core.Annotations$Annotation$.apply(Annotations.scala:191) | |
at dotty.tools.dotc.core.Annotations$Annotation$.apply(Annotations.scala:182) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseAttribute$1(ClassfileParser.scala:734) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseAttributes$$anonfun$1(ClassfileParser.scala:792) | |
at scala.runtime.java8.JFunction1$mcVI$sp.apply(JFunction1$mcVI$sp.scala:18) | |
at scala.collection.immutable.Range.foreach(Range.scala:190) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseAttributes(ClassfileParser.scala:792) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseMember(ClassfileParser.scala:232) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseClass$$anonfun$2(ClassfileParser.scala:183) | |
at scala.runtime.java8.JFunction1$mcVI$sp.apply(JFunction1$mcVI$sp.scala:18) | |
at scala.collection.immutable.Range.foreach(Range.scala:190) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.parseClass(ClassfileParser.scala:183) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.$anonfun$1(ClassfileParser.scala:87) | |
at dotty.tools.dotc.core.classfile.ClassfileParser.run(ClassfileParser.scala:82) | |
at dotty.tools.dotc.core.ClassfileLoader.load(SymbolLoaders.scala:414) | |
at dotty.tools.dotc.core.ClassfileLoader.doComplete(SymbolLoaders.scala:409) | |
at dotty.tools.dotc.core.SymbolLoader.complete(SymbolLoaders.scala:343) | |
at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:168) | |
at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeOnce(SymDenotations.scala:362) | |
at dotty.tools.dotc.core.SymDenotations$SymDenotation.isAbsent(SymDenotations.scala:572) | |
at dotty.tools.dotc.core.SymDenotations$SymDenotation.isAccessibleFrom(SymDenotations.scala:884) | |
at scala.meta.internal.pc.IndexedContext$.accessibleSymbols$1$$anonfun$1(IndexedContext.scala:123) | |
at scala.collection.immutable.List.filter(List.scala:559) | |
at scala.meta.internal.pc.IndexedContext$.accessibleSymbols$1(IndexedContext.scala:123) | |
at scala.meta.internal.pc.IndexedContext$.allAccessibleSymbols$1(IndexedContext.scala:138) | |
at scala.meta.internal.pc.IndexedContext$.fromImportInfo$1(IndexedContext.scala:159) | |
at scala.meta.internal.pc.IndexedContext$.scala$meta$internal$pc$IndexedContext$$$extractNames(IndexedContext.scala:176) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:77) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.IndexedContext$LazyWrapper.<init>(IndexedContext.scala:76) | |
at scala.meta.internal.pc.IndexedContext$.apply(IndexedContext.scala:65) | |
at scala.meta.internal.pc.ScalaPresentationCompiler.$anonfun$3(ScalaPresentationCompiler.scala:335) | |
at scala.Option.map(Option.scala:242) | |
at scala.meta.internal.pc.ScalaPresentationCompiler.hover$$anonfun$1(ScalaPresentationCompiler.scala:341) | |
at scala.meta.internal.pc.CompilerAccess.withSharedCompiler(CompilerAccess.scala:137) | |
at scala.meta.internal.pc.CompilerAccess.withNonInterruptableCompiler$$anonfun$1(CompilerAccess.scala:125) | |
at scala.meta.internal.pc.CompilerAccess.onCompilerJobQueue$$anonfun$1(CompilerAccess.scala:197) | |
at scala.meta.internal.pc.CompilerJobQueue$Job.run(CompilerJobQueue.scala:139) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
at java.base/java.lang.Thread.run(Thread.java:829) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment