-
Notifications
You must be signed in to change notification settings - Fork 13
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
Compilation fails when source is generated with spread operator #270
Comments
Hi @cquiroz, could you give me a quick point in the right direction to what generates these lines of code? |
Interesting, I can't easily think why it would do that |
Thanks @cquiroz, I looked through the code and also the source for treehugger which is used to do the codegen. The The abstract class I wonder if toString is being called in parallel thus intermittently blowing out the recursive check. I need to check if our build is building TZDB in parallel too as it is contained in two Scala.js modules. |
Hi @cquiroz, The two modules were being generated in parallel each with their own TZDB plugin. Many thanks |
Oh that's interesting, would it be possible to add a comment to the README about this? |
I've submitted a PR which makes a basic dependant configuration suggestion, feel free to change it round as there's a few ways to write that up. #271 |
We have been having intermittent issues with the tzdb plugin where it generates the
tzdb_java.scala
using the spread operator.Seems it might be related to:
cquiroz/scala-java-time#66
The spread operator is some times even being referenced as the val type.
When there is no spread operator it compiles correctly.
Our build environment is
I have also tried with an older scala-js 1.3.0.
The text was updated successfully, but these errors were encountered: