-
Notifications
You must be signed in to change notification settings - Fork 21
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
NPE when using -Yrecursion #1472
Comments
Imported From: https://issues.scala-lang.org/browse/SI-1472?orig=1
|
Geoffrey Alan Washburn (washburn) said: |
On 2.13.0-M3, I do not get NPE, but I get an assertion failure.
error
|
done I had to look up what src/compiler/scala/tools/nsc/settings/ScalaSettings.scala:
val Yrecursion = IntSetting (
"-Yrecursion", "Set recursion depth used when locking symbols.",
0, Some((0, Int.MaxValue)), (_: String) => None) |
maybe someone on the Scala team whose Scala beard is even longer and grayer than mine could comment on whether a PR removing |
The attached/below code will fail with a cyclic reference error if compiled without -Yrecursion, and will produce a NPE when compiled with -Yrecursion.
The text was updated successfully, but these errors were encountered: