-
Notifications
You must be signed in to change notification settings - Fork 127
Found a dangling UndefinedParam
on Scala.js
#447
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
Comments
Alas, I have run into this again in another project buntec/scala-js-snabbdom#34 (comment) |
Thanks for the report! I actually think this is emitted from ScalaJS, not scoverage. I have no idea just glancing at this, to be honest I'm not sure what a |
Ok, I isolated it one problematic line. elm.asInstanceOf[dom.HTMLElement].style.setProperty(name, cur) Where |
Isolated down to the I reckon it's the default parameter again, just like was supposedly solved by #281. Maybe another case? |
Oh hang on, maybe it's a regression. The test is being ignored! scalac-scoverage-plugin/plugin/src/test/scala/scoverage/PluginCoverageScalaJsTest.scala Line 9 in 1d404ca
|
Became ignored when dropping 2.11 in 5d3c897, idk why though. |
I used a workaround in buntec/scala-js-snabbdom#34 to get coverage working with JSDOM, which is cool. But would be great to re-enable this test and fix the regression! |
I'm glad you found a workaround :). I'll be pretty honest, I'm a bit hands off with scoverage at the moment, and don't intend on putting much time into it, just enough to keep it alive and published, so I probably won't be diving into this. However, if anyone is interested in contributing, I'm more than happy to review. |
@ckipp01 yeah, no worries 😁 I have half a mind to dig into this, It's not really obvious to me how the test was accomplishing that before. Thanks! scalac-scoverage-plugin/plugin/src/test/scala/scoverage/PluginCoverageScalaJsTest.scala Lines 7 to 19 in 1d404ca
|
I seem to be having this issue with scoverage 2.0.7. See scala-js/scala-js#4825 for details. |
https://github.com/gemini-hlsw/observe/runs/5059573540?check_suite_focus=true#step:7:402
Thanks for the encouraging message to open an issue! :)
The text was updated successfully, but these errors were encountered: