Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Example:
class Foo { @groovy.transform.CompileStatic static foo() { InputStream input println input.text } }
Produces:
[Static type checking] - No such property: text for class: java.io.InputStream
at line: 8, column: 17
Attachments
Issue Links
- Is contained by
-
GROOVY-6738 Type checking considers extension methods but not extension properties
- Closed
- relates to
-
GROOVY-10815 SC: Access is forbidden for property-style access to getProperties() default Groovy method
- Closed