Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.5, 2.4.7
-
Linux version 3.13.0-24-generic (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) )
Description
Expecting compile time error that cannot reference non-static variable from static context but stacktrace presents runtime MissingPropertyException. @CompileStatic is enabled on the class level. The code block to reproduce the issue can be found in the attached link. It also includes the output of running the sample code.
https://gist.github.com/dwarszawski/41aed2cf53486a5603447f54a44b4ac3