-
Notifications
You must be signed in to change notification settings - Fork 21
Slow compilation involving LazyList #11883
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
This line seems to be sufficient. 😂
Looks like every (sub)expression that uses that value considerably increases compilation time. Yours takes the cake though. |
@Jasper-M i wish it had failed right away and we didn't have tp chase it for three days |
thanks Oleg for taking the time to isolate this |
Does the error message:
Always appear if the type become too complex? How can we debug it or see the stacktrace when the error was thrown? |
The |
Thanks, the -Ydebug feature seems to be broken and causes a new error just by enabling:
|
In the mean time, the argument "-debug" seems to be missing from the canonical documentation: https://docs.scala-lang.org/overviews/compiler-options/index.html It may be experimental |
@tribbloid that assert was just removed by scala/scala#9583 For the option, see |
scalacOptions:
-deprecation, -unchecked, -encoding, utf8, -feature, -unchecked, -deprecation, -explaintypes, -encoding, UTF8, -language:_, -Xlint:-unused,_
takes about 30 seconds to compile on scala 2.13.1
probably caused by #10908
The text was updated successfully, but these errors were encountered: