[svn] r6200: nemerle/trunk/macros/core.n
malekith
svnadmin at nemerle.org
Wed Apr 26 18:45:44 CEST 2006
Log:
Missing part of the last commit.
Author: malekith
Date: Wed Apr 26 18:45:43 2006
New Revision: 6200
Modified:
nemerle/trunk/macros/core.n
Modified: nemerle/trunk/macros/core.n
==============================================================================
--- nemerle/trunk/macros/core.n (original)
+++ nemerle/trunk/macros/core.n Wed Apr 26 18:45:43 2006
@@ -707,12 +707,12 @@
Message.Error ("extension methods need to be marked public static")
else
match (p.ty.Fix ()) {
- | Class (tc, []) =>
+ | Class (tc, _) =>
add_attr (tb.GetModifiers ());
add_attr (mb.GetModifiers ());
tc.AddExtensionMethod (mb);
| t =>
- Message.Error ($ "extension methods not yet supported on generic "
+ Message.Error ($ "extension methods not yet supported on non-class "
"types like $t")
}
}
@@ -1163,4 +1163,5 @@
$this_expr . $(meth : name) ( .. $parms )
]>
}
+
}
More information about the svn
mailing list