[nem-en] Ambiguity resolution

Kamil Skalski kamil.skalski at gmail.com
Mon Jan 29 14:54:23 CET 2007


I think that  local value (parameter) definition takes precedence over
type name (and parameters), but I'm not sure.

2007/1/29, Vladimir Reshetnikov <v.reshetnikov at gmail.com>:
>         public Foo[T](x : T, T : void -> int) : void where T : new() {
>                 _ = T()
>         }
>
>
> Is 'T()' an object creation expression, or a function call?
> What is the rule to resolve this ambiguity?
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list