PRE-PROPOSAL: Extension methods

Mark Mahieu markmahieu at googlemail.com
Wed Mar 18 13:05:21 PDT 2009


2009/3/18 Neal Gafter <neal at gafter.com>

>
> When an extension method has been statically imported, you can use it
> as if it is a member of the type of its first argument.



Just out of curiosity, what do you think the behaviour should be when the
'first argument' is null?  Put another way, from your experience would the
model chosen here for C# be the right choice for Java?

Mark



More information about the coin-dev mailing list