From c19d6cb6201d86b7fb3cabe33134b1d555881de4 Mon Sep 17 00:00:00 2001 From: def Date: Fri, 13 Mar 2015 02:17:46 +0100 Subject: [PATCH] Fix infinite recursion in semtypes with recursive types Fixes #2213 --- compiler/semtypes.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index ac06362114..5e9e584ebb 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -787,6 +787,8 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode, result = addImplicitGeneric(typ) else: for i in 0 ..