summary refs log tree commit diff stats
path: root/compiler/rodread.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rodread.nim')
-rwxr-xr-xcompiler/rodread.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rodread.nim b/compiler/rodread.nim
index 7c924511f..4461641db 100755
--- a/compiler/rodread.nim
+++ b/compiler/rodread.nim
@@ -330,6 +330,9 @@ proc decodeType(r: PRodReader, info: TLineInfo): PType =
   if r.s[r.pos] == '@': 
     inc(r.pos)
     result.containerID = decodeVInt(r.s, r.pos)
+  if r.s[r.pos] == '`':
+    inc(r.pos)
+    result.constraint = decodeNode(r, UnknownLineInfo())
   decodeLoc(r, result.loc, info)
   while r.s[r.pos] == '^': 
     inc(r.pos)