diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-01-27 17:48:39 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-01-27 17:48:39 +0000 |
commit | 92f7c479b9c8db6fdf5044a61025dd88529ce8b6 (patch) | |
tree | 40af8bf235ab5dcd4a38b53ee30a71db1028abb3 /compiler | |
parent | 5d712e0d3f9f5b8e486720c8bedd749656b527d8 (diff) | |
download | Nim-92f7c479b9c8db6fdf5044a61025dd88529ce8b6.tar.gz |
Fixes #848.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/types.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types.nim b/compiler/types.nim index 4a53a84c9..cd703474e 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -451,7 +451,7 @@ proc typeToString(typ: PType, prefer: TPreferedDesc = preferName): string = of tyProc: "proc" of tyObject: "object" of tyTuple: "tuple" - else: (internalAssert false; "") + else: (internalAssert(false); "") of tyUserTypeClassInst: let body = t.base result = body.sym.name.s & "[" |