Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.7
-
Fix Version/s: 1.6.9
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
class M {
def doIt() {
assert metaClass.owner.class == M // passes but shouldn't, should be T
}
}
class T {}
T.mixin(M)
new T().doIt()
This issue is not there on 1.7 onwards (http://groovyconsole.appspot.com/script/76002).
How about upgrading to 1.7.x instead of getting it fixed on 1.6.9 and upgrading to that (assuming that you need the fix and can upgrade for that
)?