Skip to content

-Xignore-scala2-macros adapted trees are incompatible with implicit conversions #7064

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

Open
bishabosha opened this issue Aug 19, 2019 · 0 comments

Comments

@bishabosha
Copy link
Member

bishabosha commented Aug 19, 2019

minimized code

libraryDependencies += ("com.lihaoyi" %% "fastparse" % "2.1.3").withDottyCompat(scalaVersion.value)
import fastparse._

def foo[$: P] = P(StringIn("foo") | AnyChar)
def bar[$: P] = P("bar")

expectation

This should type check, however the throw new MatchError(...) trees that replace macro expansion appear to be incompatible with implicit conversions to fastparse.EagerOps to type the | method in foo or to find the implicit conversion LiteralString for "bar"

errors

for foo:

[error] -- [E008] Member Not Found Error: /Users/jamie/workspace/test-dotty/src/main/scala/fastparse.scala:3:34 
[error] 3 |def foo[$: P] = P(StringIn("foo") | AnyChar)
[error]   |                  ^^^^^^^^^^^^^^^^^
[error]   |value | is not a member of fastparse.ParsingRun[Unit] - did you mean fastparse.ParsingRun[Unit].cut?

for bar (assertion fails because the symbol is method <special-ops>.throw not apply):

assertion failed stack trace
[info] Compiling 1 Scala source to /Users/jamie/workspace/test-dotty/target/scala-0.17/classes ...
[info] exception occurred while typechecking /Users/jamie/workspace/test-dotty/src/main/scala/fastparse.scala
java.lang.AssertionError: assertion failed while compiling /Users/jamie/workspace/test-dotty/src/main/scala/fastparse.scala
[info] exception occurred while compiling /Users/jamie/workspace/test-dotty/src/main/scala/fastparse.scala
[error] ## Exception when compiling 1 sources to /Users/jamie/workspace/test-dotty/target/scala-0.17/classes
[error] assertion failed
[error] dotty.DottyPredef$.assertFail(DottyPredef.scala:15)
[error] dotty.tools.dotc.typer.Checking.checkImplicitConversionUseOK(Checking.scala:717)
[error] dotty.tools.dotc.typer.Typer.checkImplicitConversionUseOK(Typer.scala:83)
[error] dotty.tools.dotc.typer.Typer.adaptToSubType$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgsOther$6(Typer.scala:2717)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:2773)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:2980)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:2393)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:327)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:767)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:767)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:531)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:576)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:352)
[error] dotty.tools.dotc.typer.Applications$TypedApply.(Applications.scala:668)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.(Applications.scala:766)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:839)
[error] dotty.tools.dotc.typer.Applications.realApply$4$$anonfun$3(Applications.scala:868)
[error] dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:2191)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:879)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:914)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:83)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2001)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2055)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1200)
[error] dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1190)
[error] dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1200)
[error] dotty.tools.dotc.typer.Namer.rhsType$2(Namer.scala:1335)
[error] dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1347)
[error] dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1348)
[error] dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1359)
[error] dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1367)
[error] dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:1436)
[error] dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:759)
[error] dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:878)
[error] dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:785)
[error] dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:251)
[error] dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:180)
[error] dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:182)
[error] dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:391)
[error] dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:1953)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1978)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2054)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2124)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2170)
[error] dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:1670)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1991)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2054)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2124)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2170)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1794)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2031)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2055)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:2183)
[error] dotty.tools.dotc.typer.FrontEnd.typeCheck$$anonfun$1(FrontEnd.scala:75)
[error] dotty.runtime.function.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:41)
[error] dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:79)
[error] dotty.tools.dotc.typer.FrontEnd.runOn$$anonfun$3(FrontEnd.scala:109)
[error] dotty.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] dotty.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.immutable.List.foreach(List.scala:392)
[error] dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:109)
[error] dotty.tools.dotc.Run.runPhases$4$$anonfun$4(Run.scala:158)
[error] dotty.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] dotty.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
[error] scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
[error] scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
[error] dotty.tools.dotc.Run.runPhases$5(Run.scala:170)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:178)
[error] dotty.runtime.function.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:102)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:185)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:120)
[error] dotty.tools.dotc.Run.compile(Run.scala:104)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:34)
[error] dotty.tools.dotc.Driver.process(Driver.scala:172)
[error] dotty.tools.dotc.Main.process(Main.scala)
[error] xsbt.CachedCompilerImpl.run(CachedCompilerImpl.java:69)
[error] xsbt.CompilerInterface.run(CompilerInterface.java:41)
[error] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[error] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error] java.lang.reflect.Method.invoke(Method.java:498)
[error] sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
[error] sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
[error] sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
[error] sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
[error] sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
[error] sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
[error] sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
[error] sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error] sbt.std.Transform$$anon$4.work(System.scala:67)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] sbt.Execute.work(Execute.scala:278)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] java.lang.Thread.run(Thread.java:748)
[error]            
[error] java.lang.AssertionError: assertion failed
[error] 	at dotty.DottyPredef$.assertFail(DottyPredef.scala:15)
[error] 	at dotty.tools.dotc.typer.Checking.checkImplicitConversionUseOK(Checking.scala:717)
[error] 	at dotty.tools.dotc.typer.Typer.checkImplicitConversionUseOK(Typer.scala:83)
[error] 	at dotty.tools.dotc.typer.Typer.adaptToSubType$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.adaptNoArgsOther$6(Typer.scala:2717)
[error] 	at dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:2773)
[error] 	at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:2980)
[error] 	at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:2393)
[error] 	at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:327)
[error] 	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:767)
[error] 	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:767)
[error] 	at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:531)
[error] 	at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:576)
[error] 	at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:352)
[error] 	at dotty.tools.dotc.typer.Applications$TypedApply.(Applications.scala:668)
[error] 	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.(Applications.scala:766)
[error] 	at dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:839)
[error] 	at dotty.tools.dotc.typer.Applications.realApply$4$$anonfun$3(Applications.scala:868)
[error] 	at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:2191)
[error] 	at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:879)
[error] 	at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:914)
[error] 	at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:83)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2001)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2055)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] 	at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1200)
[error] 	at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1190)
[error] 	at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1200)
[error] 	at dotty.tools.dotc.typer.Namer.rhsType$2(Namer.scala:1335)
[error] 	at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1347)
[error] 	at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1348)
[error] 	at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1359)
[error] 	at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1367)
[error] 	at dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:1436)
[error] 	at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:759)
[error] 	at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:878)
[error] 	at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:785)
[error] 	at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:251)
[error] 	at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:180)
[error] 	at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:182)
[error] 	at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:391)
[error] 	at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:1953)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1978)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2054)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2124)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2170)
[error] 	at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:1670)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1991)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2054)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2124)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2170)
[error] 	at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1794)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2031)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2055)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2093)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2105)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:2183)
[error] 	at dotty.tools.dotc.typer.FrontEnd.typeCheck$$anonfun$1(FrontEnd.scala:75)
[error] 	at dotty.runtime.function.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] 	at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:41)
[error] 	at dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:79)
[error] 	at dotty.tools.dotc.typer.FrontEnd.runOn$$anonfun$3(FrontEnd.scala:109)
[error] 	at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] 	at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] 	at scala.collection.immutable.List.foreach(List.scala:392)
[error] 	at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:109)
[error] 	at dotty.tools.dotc.Run.runPhases$4$$anonfun$4(Run.scala:158)
[error] 	at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] 	at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] 	at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
[error] 	at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
[error] 	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
[error] 	at dotty.tools.dotc.Run.runPhases$5(Run.scala:170)
[error] 	at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:178)
[error] 	at dotty.runtime.function.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] 	at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:102)
[error] 	at dotty.tools.dotc.Run.compileUnits(Run.scala:185)
[error] 	at dotty.tools.dotc.Run.compileSources(Run.scala:120)
[error] 	at dotty.tools.dotc.Run.compile(Run.scala:104)
[error] 	at dotty.tools.dotc.Driver.doCompile(Driver.scala:34)
[error] 	at dotty.tools.dotc.Driver.process(Driver.scala:172)
[error] 	at dotty.tools.dotc.Main.process(Main.scala)
[error] 	at xsbt.CachedCompilerImpl.run(CachedCompilerImpl.java:69)
[error] 	at xsbt.CompilerInterface.run(CompilerInterface.java:41)
[error] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[error] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error] 	at java.lang.reflect.Method.invoke(Method.java:498)
[error] 	at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
[error] 	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
[error] 	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
[error] 	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
[error] 	at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
[error] 	at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
[error] 	at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
[error] 	at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
[error] 	at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
[error] 	at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
[error] 	at sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
[error] 	at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
[error] 	at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
[error] 	at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
[error] 	at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error] 	at sbt.std.Transform$$anon$4.work(System.scala:67)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] 	at sbt.Execute.work(Execute.scala:278)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (Compile / compileIncremental) java.lang.AssertionError: assertion failed
[error] Total time: 1 s, completed Aug 19, 2019 2:05:20 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant