Skip to content
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

stack overflow dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119) #22262

Open
ecrabor8 opened this issue Dec 23, 2024 · 2 comments
Labels
itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label

Comments

@ecrabor8
Copy link

Compiler version

compiler version: version 3.6.1

Minimized code

proprietary company code and not narrowed don

Output (click arrow to expand)

[error] java.lang.StackOverflowError
[error] dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119)
[error] dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119)
[error] dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119)
[error] dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119)
[error] dotty.tools.dotc.parsing.JavaParsers$JavaParser.pullOutFirstConstr$1(JavaParsers.scala:119)
....

@ecrabor8 ecrabor8 added itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label labels Dec 23, 2024
@som-snytt
Copy link
Contributor

@ecrabor8 it recurses looking for a constructor, so probably just a sufficiently long class with ctor at the end.

@ecrabor8
Copy link
Author

ecrabor8 commented Dec 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label
Projects
None yet
Development

No branches or pull requests

2 participants