eric-milles opened a new pull request #1092: STC: isLHSOfEnclosingAssignment returns true for ++or -- on variable expression URL: https://github.com/apache/groovy/pull/1092 `PV_FIELDS_MUTATION` is recorded instead of `PV_FIELDS_ACCESS` This is a first step towards fixing: ```groovy @NotYetImplemented // GROOVY-7304 void testShouldGoThroughPrivateBridgeAccessorWithWriteAccess() { ['++i', 'i++', 'i+=1', 'i=i+1'].each { assertScript """ class Foo { private int i = 1 def m() { new String().with { $it } } } assert new Foo().m() == 2 class Bar extends Foo {} assert new Bar().m() == 2 """ } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
