| Issue 102: | inline getter error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
class Main {
static var x(get_x,never):Int;
inline static function get_x() return 10
static function main() {
trace(x);
}
}
What is the expected output? What do you see instead?
should compile and trace 10, preferably with the getter inlined away completely.
instead, get errors about redefinition of get_x as a function when previously declared as data member and related errors
What version of the product are you using? On what operating system?
2,07,0
Mar 14, 2011
#1
lucadelt...@googlemail.com
Aug 10, 2011
It got confused thinking it was a "dynamic" get_x function. Should be fixed.
Status:
Fixed
|