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
Steps to reproduce: Make the minus operator in ExpressionWithSynthesizedAttributes.tcs right associative and then run the TestOperatorParsingScenarios tests.
The actual problem is within the generated parsers:
SetOCLRef is called within ret=exp.... But at this point in time the minus token has not yet been parsed. input.LT(-1) thus returns the wrong token. This leads to problems in any code relying on the token value (e.g., ReferenceHandlerImpl#resolveRemainingReferences)
The text was updated successfully, but these errors were encountered:
Steps to reproduce: Make the minus operator in ExpressionWithSynthesizedAttributes.tcs right associative and then run the TestOperatorParsingScenarios tests.
The actual problem is within the generated parsers:
SetOCLRef is called within ret=exp.... But at this point in time the minus token has not yet been parsed. input.LT(-1) thus returns the wrong token. This leads to problems in any code relying on the token value (e.g., ReferenceHandlerImpl#resolveRemainingReferences)
The text was updated successfully, but these errors were encountered: