diff --git a/t/compile_error/200.evaluate-overloaded-static-member.todo.jsx b/t/compile_error/200.evaluate-overloaded-static-member.todo.jsx new file mode 100644 index 00000000..258f5bd9 --- /dev/null +++ b/t/compile_error/200.evaluate-overloaded-static-member.todo.jsx @@ -0,0 +1,21 @@ +/*EXPECTED +ok +*/ + +class Foo { + static function print(arg : string) : void { } + static function print(arg : number) : void { } +} + +class _Main +{ + static function f.(x : T) : void { } + + static function main(argv : string[]) : void + { + var a = [Foo.print]; + var m = { foo: Foo.print }; + } +} + +// vim: set expandtab tabstop=2 shiftwidth=2 ft=jsx: