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()
Activity
Roshan Dawrani
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Roshan Dawrani [ roshandawrani ] |
Roshan Dawrani
made changes -
| Fix Version/s | 1.6.9 [ 16236 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Guillaume Laforge
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
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
)?