You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue: SO, also only on the project with generated Antlr4 code in build.
Seems to happen only with some grammars. On a previously release with maybe 100 lines less of G4 definitions, but still a considerably large grammar, the MSBuild.exe does not trigger SO.
Tested msbuild also with preview of build tools 17.4.0 Preview 3, still StackOverflow. Co-worker will append repro to related open issue.
Version Used: dotnet\sdk\6.0.401
Steps to Reproduce:
academitslearn2.zip
Expected Behavior: Code compiles.
Actual Behavior: Code doesn't compile.
Workaround: All worked in some old version of VS Community 2022.
Probably was old version of .NET SDK.
This project uses ANTLR which generates large classes.
I think somewhere Roslyn uses recursion which can't handle such large classes.
The text was updated successfully, but these errors were encountered: