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
tb.parse returns unpositioned trees #7331
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7331?orig=1 |
@xeno-by said: |
@jedesah said: Is there anything I can do to help get this bug fixed? I have a project (https://github.com/jedesah/scala-codesheet-api if your curious) which has just under 100 tests and almost all of them will fail with unpositioned trees. Having to use a custom version of Scala is giving me trouble in regard to integrating my evaluation engine into my Play! webapp. For what it's worth in regard to Paul's questions, I patched the compiler by removing the assert in setPos and therefore the guard against emptyValDef because that makes the most sense to me. While we're at it. Once the patch is applied the lines of the positions are off by one. I believe this is due to the Wrapper Object that is added in order to support compiling standalone expressions. I just handle it in my client code but it would probably be nicer to fix this internally. Like I said is there anything I can do to help advance this issue. I would be very happy if this could be fixed as part of the next stable release of the 2.10.x branch. Thx for your time |
@xeno-by said: |
@jedesah said: |
@xeno-by said: |
@adriaanm said: |
@adriaanm said: |
The text was updated successfully, but these errors were encountered: