Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.4, 2.4.3
-
None
Description
In the following snippet, the first two statements work as expected,
but the last one throws a MissingPropertyException. It seems to me
that no exceptions should be thrown. This is on Groovy 1.8.4.
class Isser { boolean isWorking() { true } } class IsserCat { static boolean getWorking2(Isser b) { true } static boolean isNotWorking(Isser b) { true } } use (IsserCat) { println new Isser().working println new Isser().working2 println new Isser().notWorking // Missing property exception...why? }
Attachments
Issue Links
- relates to
-
GROOVY-10707 Regression in property access for conflicting isXxx and getXxx accessors
- Closed
-
GROOVY-10708 Property access for wrapped vs. primitive boolean
- Closed