-
Notifications
You must be signed in to change notification settings - Fork 139
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
StackOverflowException in XLargeTest#test011() #1171
Comments
So curious: why would this show up only when you run a single test ?? |
Not sure, but I suspect it could be a timing issue. I also see tests failing when I run them in debug mode and not otherwise. |
This problem goes away with #2011 - Much water has flown under the bridge. |
To reproduce this, you need to select the single given test name (by setting TESTS_NAMES at the top).
The SOE happens at BinaryExpression#containsPatternVariable(). The reason it happens is, this method and possibly few others that were added to BinaryExpression were not overridden in CombinedBinaryExpression and therefore fell into the SOE. Just as analyseCode(), we should have for the other methods too that propagate to left and right.
Another note is, perhaps we should limit the call containsPatternVariable() only for compliance >= 16.
The text was updated successfully, but these errors were encountered: