[svn] r6210: nemerle/trunk/ncc/misc/PrettyPrint.n
malekith
svnadmin at nemerle.org
Mon May 1 11:35:06 CEST 2006
Log:
Print type parameters in local refs too.
Author: malekith
Date: Mon May 1 11:35:05 2006
New Revision: 6210
Modified:
nemerle/trunk/ncc/misc/PrettyPrint.n
Modified: nemerle/trunk/ncc/misc/PrettyPrint.n
==============================================================================
--- nemerle/trunk/ncc/misc/PrettyPrint.n (original)
+++ nemerle/trunk/ncc/misc/PrettyPrint.n Mon May 1 11:35:05 2006
@@ -918,7 +918,11 @@
if (expr == null) append ("[[[NULL]]]") else
match (expr) {
// reference building
- | TT.TExpr.LocalFunRef (decl /* LocalValue */, _)
+ | TT.TExpr.LocalFunRef (decl /* LocalValue */, tp) =>
+ append (decl.Name);
+ unless (tp.IsEmpty)
+ append ($".$tp");
+
| TT.TExpr.LocalRef (decl /* LocalValue */) =>
append (decl.Name)
More information about the svn
mailing list