summaryrefslogtreecommitdiff
path: root/parse/specialize.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-15 23:10:52 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-15 23:10:52 -0800
commit6950e5fccf4ebe1da730493bca2284e092b43e90 (patch)
tree87b0386095c7d998133a9c90bdf68ec165dfefa7 /parse/specialize.c
parent555799dbfd11dc0a2edaa53b78100d1eeea6ff06 (diff)
downloadmc-6950e5fccf4ebe1da730493bca2284e092b43e90.tar.gz
Improve trait error messages.
Diffstat (limited to 'parse/specialize.c')
-rw-r--r--parse/specialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/specialize.c b/parse/specialize.c
index 7a9eb70..32412f1 100644
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -415,7 +415,7 @@ Node *specializedcl(Node *g, Type *to, Node **name)
return d;
if (g->decl.trait) {
printf("%s\n", namestr(n));
- fatal(g, "No trait implemented for for %s:%s", namestr(g->decl.name), tystr(to));
+ fatal(g, "no trait implemented for for %s:%s", namestr(g->decl.name), tystr(to));
}
/* namespaced names need to be looked up in their correct
* context. */