Skip to content

Stack overflow when compiling the same code in too many runs #1037

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

Closed
smarter opened this issue Jan 18, 2016 · 0 comments
Closed

Stack overflow when compiling the same code in too many runs #1037

smarter opened this issue Jan 18, 2016 · 0 comments

Comments

@smarter
Copy link
Member

smarter commented Jan 18, 2016

Reproduce with:

sbt "run-main dotty.tools.dotc.Bench #runs 10 tests/pos/HelloWorld.scala"

Here's the full stack trace (only available if the JVM is started with -XX:MaxJavaStackTraceDepth=-1 otherwise it's truncated): https://gist.github.com/anonymous/712e94d35fb69faf62fe

odersky added a commit to dotty-staging/dotty that referenced this issue Jan 20, 2016
Achieved by tweaking from where we get the parameter types of an eta-expansion.
odersky added a commit to dotty-staging/dotty that referenced this issue Jan 20, 2016
Add second scenario reported in scala#1037 to test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants