tsigtypeop.nim works again

This commit is contained in:
Araq 2015-02-25 21:36:43 +01:00
commit fce2ff161e
3 changed files with 3 additions and 3 deletions

View file

@ -1193,7 +1193,7 @@ proc semTypeNode(c: PContext, n: PNode, prev: PType): PType =
result = typeExpr.typ.base
if result.isMetaType:
var preprocessed = semGenericStmt(c, n)
result = makeTypeFromExpr(c, preprocessed)
result = makeTypeFromExpr(c, preprocessed.copyTree)
of nkIdent, nkAccQuoted:
var s = semTypeIdent(c, n)
if s.typ == nil: