jdaugherty commented on PR #3086:
URL: https://github.com/apache/groovy/pull/3086#issuecomment-6716314749

   @paulk-asert I filed the compound-assignment problem from my last comment as 
[GROOVY-12731](https://issues.apache.org/jira/browse/GROOVY-12731). A `+=` site 
linked for a Groovy object with its own metaclass keeps invoking that 
metaclass's `plus` for later plain instances of the class, and `-=` behaves the 
same. 5.1.3 and classic call sites are not affected. `IndyCompoundAssign` has 
guarded on the receiver and argument classes only since GEP-15 added it in 
6.0.0-alpha-2, so it is separate from this PR.
   
   A correction to my last comment: the edit to the table in my earlier comment 
did not go through. Here are the completed rows:
   
   | Receiver | 5.1.3 | 6.0.0 | master | with this PR |
   |---|---|---|---|---|
   | subclass answering the type's registry metaclass (GORM proxy) | OK | stale 
| stale | OK |
   | DelegatingMetaClass over the type's ExpandoMetaClass | OK | OK | OK | OK |
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to