You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one is easy to reproduce, just ask Ammonite to show java.util.concurrent.TimeUnit.DAYS:
@ java.util.concurrent.TimeUnit.DAYS
Compilation Failed
Main.scala:303: exception during macro expansion:
scala.ScalaReflectionException: value NANOSECONDS is not a type
at scala.reflect.api.Symbols$SymbolApi$class.asType(Symbols.scala:183)
at scala.reflect.internal.Symbols$SymbolContextApiImpl.asType(Symbols.scala:84)
at derive.Derive$$anonfun$impl$1$2.apply(Derive.scala:75)
at derive.Derive$$anonfun$impl$1$2.apply(Derive.scala:74)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:322)
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
at scala.collection.SetLike$class.map(SetLike.scala:92)
at scala.collection.AbstractSet.map(Set.scala:47)
at derive.Derive.impl$1(Derive.scala:74)
at derive.Derive.fleshedOutSubtypes(Derive.scala:81)
at derive.Derive.derive$Derive$$onFail$1(Derive.scala:136)
at derive.Derive$$anonfun$derive$Derive$$rec$1$1.apply(Derive.scala:204)
at derive.Derive$$anonfun$derive$Derive$$rec$1$1.apply(Derive.scala:178)
at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:194)
at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:80)
at derive.Derive.derive$Derive$$rec$1(Derive.scala:178)
at derive.Derive.deriveType(Derive.scala:217)
at derive.Derive.derive(Derive.scala:58)
at pprint.Internals$LowerPriPPrint$.liftedTree1$1(PPrint.scala:398)
at pprint.Internals$LowerPriPPrint$.FinalRepr(PPrint.scala:398)
def $main() = { ammonite.repl.frontend.ReplBridge.repl.Internal.combinePrints(ammonite.repl.frontend.ReplBridge.repl.Internal.print(res12, res12, "res12", None)) }
The text was updated successfully, but these errors were encountered:
This one is easy to reproduce, just ask Ammonite to show
java.util.concurrent.TimeUnit.DAYS
:The text was updated successfully, but these errors were encountered: