hg: lambda/lambda/langtools: Added basic support for constructor references.

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Jan 17 09:22:39 PST 2011


> Examples:
>
> Foo#new ->  (*)Foo [most specific constructor]
> Foo#new() ->  ()Foo
> Foo#new("Hello!") ->  (String)Foo
> Foo<String>#new("Hello!") ->  (String)Foo<String>
Of course there's an error in the above syntax - the examples were meant 
to be:

Foo#new ->  (*)Foo [most specific constructor]
Foo#new() ->  ()Foo
Foo#new(String) ->  (String)Foo
Foo<String>#new(String) ->  (String)Foo<String>


Maurizio



More information about the lambda-dev mailing list