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
exception during macro expansion:
scala.ScalaReflectionException: type F is not a class
at scala.reflect.api.Symbols$SymbolApi.asClass(Symbols.scala:272)
at scala.reflect.api.Symbols$SymbolApi.asClass$(Symbols.scala:272)
at scala.reflect.internal.Symbols$SymbolContextApiImpl.asClass(Symbols.scala:94)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.isValueClass$1(JsonCodecMaker.scala:145)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.nullValue$1(JsonCodecMaker.scala:483)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.$anonfun$make$54(JsonCodecMaker.scala:704)
at scala.collection.immutable.Map$EmptyMap$.getOrElse(Map.scala:101)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.$anonfun$make$53(JsonCodecMaker.scala:704)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
at scala.collection.immutable.List.foreach(List.scala:389)
at scala.collection.TraversableLike.map(TraversableLike.scala:234)
at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
at scala.collection.immutable.List.map(List.scala:295)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.$anonfun$make$39(JsonCodecMaker.scala:702)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.$anonfun$make$17(JsonCodecMaker.scala:460)
at scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:206)
at scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:203)
at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:80)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.withDecoderFor$1(JsonCodecMaker.scala:460)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.genReadVal$1(JsonCodecMaker.scala:657)
at com.github.plokhotnyuk.jsoniter_scala.macros.JsonCodecMaker$Impl$.make(JsonCodecMaker.scala:947)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at scala.reflect.macros.runtime.JavaReflectionRuntimes$JavaReflectionResolvers.$anonfun$resolveJavaReflectionRuntime$4(JavaReflectionRuntimes.scala:34)
at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime(Macros.scala:803)
The text was updated successfully, but these errors were encountered:
plokhotnyuk
changed the title
Unexpected exception during call of macro for higher kinded types
Unexpected exception during call of make macro for higher kinded types
May 21, 2018
Code to reproduce:
Exception:
The text was updated successfully, but these errors were encountered: