diff options
Diffstat (limited to 'compiler/expanddefaults.nim')
-rw-r--r-- | compiler/expanddefaults.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/expanddefaults.nim b/compiler/expanddefaults.nim index c121f5dea..c520d8849 100644 --- a/compiler/expanddefaults.nim +++ b/compiler/expanddefaults.nim @@ -125,7 +125,7 @@ proc expandDefault(t: PType; info: TLineInfo): PNode = of tyString: result = newZero(t, info, nkStrLit) of tyNone, tyEmpty, tyUntyped, tyTyped, tyTypeDesc, - tyNil, tyGenericInvocation, tyProxy, tyBuiltInTypeClass, + tyNil, tyGenericInvocation, tyError, tyBuiltInTypeClass, tyUserTypeClass, tyUserTypeClassInst, tyCompositeTypeClass, tyAnd, tyOr, tyNot, tyAnything, tyConcept, tyIterable, tyForward: result = newZero(t, info, nkEmpty) # bug indicator |