shithub: mc

Download patch

ref: 581853a4302e856c4c1ba3606892259dc967a156
parent: 2346727d8b1e5a708007d95989c8eee197abe0c5
author: Ori Bernstein <[email protected]>
date: Wed Oct 24 16:27:07 EDT 2012

Fix type formatting a bit.

    Make it match with the actual langauge syntax and docs.

--- a/parse/type.c
+++ b/parse/type.c
@@ -441,7 +441,7 @@
             p += snprintf(p, end - p, "]");
             break;
         case Tyvar:
-            p += snprintf(p, end - p, "@$%d", t->tid);
+            p += snprintf(p, end - p, "$%d", t->tid);
             if (t->nsub) {
                 p += snprintf(p, end - p, "(");
                 for (i = 0; i < t->nsub; i++) {