Closed gurghet closed 8 years ago
@gurghet This a scala-js thing. If you debug with chrome, you can use source maps.
@gurghet Could you ask this in the scala-js gitter? I think this issue can be closed because it's not really about scalatags.
I'm pretty sure it's scalatags, I found the method. It's used 333 times throughout the library, it's not caught somewhere. I'm searching where right now.
Ok sorry, it was my own code not catching it -.- I didn't expect it to be thrown directly. I feel it could be done differently, but at this point it's hard to suggest a better design.
In fastopt there is the following function defined
Unfortunately I cannot understend what the scope is supposed to be. The fact is that the IllegalArgumentException is not caught anywere. This caused me a lengthy session of debugging. Who is responsible for catching these exceptions? Scalatags or scalajs?