From 653b066b6ead10259efccaa1d6fc5a655ec442cb Mon Sep 17 00:00:00 2001 From: "Fuji, Goro" Date: Sun, 13 Oct 2013 12:34:13 +0900 Subject: [PATCH] add a todo for #274 --- ...evaluate-overloaded-static-member.todo.jsx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 t/compile_error/200.evaluate-overloaded-static-member.todo.jsx 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: