Skip to content

Commit

Permalink
add a todo for #274
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Oct 13, 2013
1 parent 5374130 commit 653b066
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions t/compile_error/200.evaluate-overloaded-static-member.todo.jsx
Original file line number Diff line number Diff line change
@@ -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.<T>(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:

0 comments on commit 653b066

Please sign in to comment.