Closed this issue 11 years ago · 1 comments
The type inferrer should also deduce the type of a literal from the calling method type even if it contains more than one elements.
class Foo { function constructor(options : Map.<variant>); } new Foo({ a : true, b : false });
👍