diff options
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r-- | compiler/semdata.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim index 127842a5a..4c94d0812 100644 --- a/compiler/semdata.nim +++ b/compiler/semdata.nim @@ -207,11 +207,6 @@ proc makeTypeDesc*(c: PContext, typ: PType): PType = proc newTypeS(kind: TTypeKind, c: PContext): PType = result = newType(kind, getCurrOwner()) -proc newTypeWithSons*(c: PContext, kind: TTypeKind, - sons: seq[PType]): PType = - result = newType(kind, getCurrOwner()) - result.sons = sons - proc errorType*(c: PContext): PType = ## creates a type representing an error state result = newTypeS(tyError, c) |