{"action":"created","issue":{"url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/101","labels_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/101/comments","events_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/101/events","html_url":"https://github.com/scoverage/sbt-scoverage/issues/101","id":62240387,"number":101,"title":"ScalaJS incompatible issue","user":{"login":"giovannicandido","id":915892,"avatar_url":"https://avatars.githubusercontent.com/u/915892?v=3","gravatar_id":"","url":"https://api.github.com/users/giovannicandido","html_url":"https://github.com/giovannicandido","followers_url":"https://api.github.com/users/giovannicandido/followers","following_url":"https://api.github.com/users/giovannicandido/following{/other_user}","gists_url":"https://api.github.com/users/giovannicandido/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannicandido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannicandido/subscriptions","organizations_url":"https://api.github.com/users/giovannicandido/orgs","repos_url":"https://api.github.com/users/giovannicandido/repos","events_url":"https://api.github.com/users/giovannicandido/events{/privacy}","received_events_url":"https://api.github.com/users/giovannicandido/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-16T23:53:41Z","updated_at":"2015-07-15T14:47:15Z","closed_at":null,"body":"In a project with both scala and scalajs the coverage broke tests. I think is because scalajs generate intermediate classes but not sure\r\nProject based on https://github.com/vmunier/play-with-scalajs-example\r\n\r\nError:\r\n```\r\nCompiling 1 Scala source to /Users/giovanni/Projetos/atende/monografias/shared/.js/target/scala-2.11/classes...\r\n[info] Compiling 1 Scala source to /Users/giovanni/Projetos/atende/monografias/shared/.jvm/target/scala-2.11/classes...\r\n[info] Cleaning datadir [/Users/giovanni/Projetos/atende/monografias/shared/.jvm/target/scala-2.11/scoverage-data]\r\n[info] Beginning coverage instrumentation\r\n[info] Instrumentation completed [11 statements]\r\n[info] Cleaning datadir [/Users/giovanni/Projetos/atende/monografias/shared/.js/target/scala-2.11/scoverage-data]\r\n[info] Beginning coverage instrumentation\r\n[info] Wrote instrumentation file [/Users/giovanni/Projetos/atende/monografias/shared/.jvm/target/scala-2.11/scoverage-data/scoverage.coverage.xml]\r\n[info] Will write measurement data to [/Users/giovanni/Projetos/atende/monografias/shared/.jvm/target/scala-2.11/scoverage-data]\r\n[info] Instrumentation completed [11 statements]\r\n[info] Wrote instrumentation file [/Users/giovanni/Projetos/atende/monografias/shared/.js/target/scala-2.11/scoverage-data/scoverage.coverage.xml]\r\n[info] Will write measurement data to [/Users/giovanni/Projetos/atende/monografias/shared/.js/target/scala-2.11/scoverage-data]\r\n[info] Compiling 6 Scala sources and 1 Java source to /Users/giovanni/Projetos/atende/monografias/server/target/scala-2.11/classes...\r\n[info] Compiling 5 Scala sources to /Users/giovanni/Projetos/atende/monografias/client/target/scala-2.11/classes...\r\n[info] Cleaning datadir [/Users/giovanni/Projetos/atende/monografias/client/target/scala-2.11/scoverage-data]\r\n[info] Beginning coverage instrumentation\r\n[info] Instrumentation completed [26 statements]\r\n[info] Wrote instrumentation file [/Users/giovanni/Projetos/atende/monografias/client/target/scala-2.11/scoverage-data/scoverage.coverage.xml]\r\n[info] Will write measurement data to [/Users/giovanni/Projetos/atende/monografias/client/target/scala-2.11/scoverage-data]\r\n[info] Cleaning datadir [/Users/giovanni/Projetos/atende/monografias/server/target/scala-2.11/scoverage-data]\r\n[info] Beginning coverage instrumentation\r\n[info] Instrumentation completed [342 statements]\r\n[info] Wrote instrumentation file [/Users/giovanni/Projetos/atende/monografias/server/target/scala-2.11/scoverage-data/scoverage.coverage.xml]\r\n[info] Will write measurement data to [/Users/giovanni/Projetos/atende/monografias/server/target/scala-2.11/scoverage-data]\r\n[info] Fast optimizing /Users/giovanni/Projetos/atende/monografias/client/target/scala-2.11/monografias-fastopt.js\r\n[error] Referring to non-existent class Lscoverage_Invoker$\r\n[error]   called from LmonoJs_MonoApp$.main__V\r\n[error]   called from sjs_js_JSApp$class.$$js$exported$meth$main__sjs_js_JSApp__O\r\n[error]   called from LmonoJs_MonoApp$.$$js$exported$meth$main__O\r\n[error]   called from LmonoJs_MonoApp$.main\r\n[error]   exported to JavaScript with @JSExport\r\n[error] involving instantiated classes:\r\n[error]   LmonoJs_MonoApp$\r\n[error] Referring to non-existent method Lscoverage_Invoker$.invoked__I__T__V\r\n```"},"comment":{"url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/comments/121639027","html_url":"https://github.com/scoverage/sbt-scoverage/issues/101#issuecomment-121639027","issue_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/101","id":121639027,"user":{"login":"holograph","id":1114848,"avatar_url":"https://avatars.githubusercontent.com/u/1114848?v=3","gravatar_id":"","url":"https://api.github.com/users/holograph","html_url":"https://github.com/holograph","followers_url":"https://api.github.com/users/holograph/followers","following_url":"https://api.github.com/users/holograph/following{/other_user}","gists_url":"https://api.github.com/users/holograph/gists{/gist_id}","starred_url":"https://api.github.com/users/holograph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holograph/subscriptions","organizations_url":"https://api.github.com/users/holograph/orgs","repos_url":"https://api.github.com/users/holograph/repos","events_url":"https://api.github.com/users/holograph/events{/privacy}","received_events_url":"https://api.github.com/users/holograph/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T14:47:15Z","updated_at":"2015-07-15T14:47:15Z","body":"Seconded, I've run into much the same problem with [Accord](wix.github.io/accord/) (see [Travis output](https://travis-ci.org/wix/accord/jobs/70923272)).\r\n\r\nI'll look for a way to disable scoverage on the Scala.js projects as an interim workaround."}}