This repository has been archived by the owner. It is now read-only.

macro expansion fails on scalajs with scoverage turned on. #201

Open
kailuowang opened this Issue May 11, 2017 · 0 comments

Comments

1 participant
@kailuowang

kailuowang commented May 11, 2017

When running tests in scalajs with scoverage, my annotation fails with the following error message.

[error] /home/travis/build/kailuowang/mainecoon/tests/src/test/scala/mainecoon/tests/autoFunctorKTests.scala:86: exception during macro expansion:
[error] java.lang.RuntimeException: stub
[error] at scala.sys.package$.error(package.scala:27)
[error] at scala.scalajs.runtime.package$.linkingInfo(package.scala:143)
[error] at scala.scalajs.runtime.package$.environmentInfo(package.scala:137)
[error] at scala.scalajs.js.Dynamic$.global(Dynamic.scala:78)
[error] at scalajssupport.File$.(File.scala:60)
[error] at scalajssupport.File$.(File.scala)
[error] at scalajssupport.File.(File.scala:16)
[error] at scoverage.Invoker$.measurementFile(Invoker.scala:50)
[error] at scoverage.Invoker$.$anonfun$invoked$1(Invoker.scala:42)
[error] at scala.collection.mutable.HashMap.getOrElseUpdate(HashMap.scala:82)
[error] at scoverage.Invoker$.invoked(Invoker.scala:42)
[error] at mainecoon.autoFunctorK$inline$.apply(autoFunctorK.scala:30)
[error] @autoFunctorK

more error detail on travis log of this build
https://travis-ci.org/kailuowang/mainecoon/jobs/231153822
My project is github.com/kailuowang/mainecoon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.