fixes #968
This commit is contained in:
parent
7918c30b90
commit
ed5bbfe36d
3 changed files with 3 additions and 2 deletions
|
|
@ -130,7 +130,6 @@ proc getUniqueType*(key: PType): PType =
|
|||
idTablePut(gTypeTable[k], key, key)
|
||||
result = key
|
||||
of tyProc:
|
||||
# tyVar is not 100% correct, but would speeds things up a little:
|
||||
if key.callConv != ccClosure:
|
||||
result = key
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -452,7 +452,8 @@ proc typeToString(typ: PType, prefer: TPreferedDesc = preferName): string =
|
|||
of tyProc: "proc"
|
||||
of tyObject: "object"
|
||||
of tyTuple: "tuple"
|
||||
else: (internalAssert(false); "")
|
||||
of tyOpenArray: "openarray"
|
||||
else: typeToStr[t.base.kind]
|
||||
of tyUserTypeClassInst:
|
||||
let body = t.base
|
||||
result = body.sym.name.s & "["
|
||||
|
|
|
|||
1
todo.txt
1
todo.txt
|
|
@ -1,6 +1,7 @@
|
|||
version 0.9.4
|
||||
=============
|
||||
|
||||
- make testament produce full JSON information
|
||||
- fix gensym capture bug
|
||||
- vm
|
||||
- at least try to get the basic type zoo ops right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue