From 2bdd0bbaa90630e23d4d643aab8b930a794faaee Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 18 Feb 2015 15:14:10 +0100 Subject: [PATCH] make huge.nim urhonimo example compile --- compiler/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/types.nim b/compiler/types.nim index 85b0f9ed0b..3ace332267 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -250,7 +250,7 @@ proc containsObject(t: PType): bool = proc isObjectWithTypeFieldPredicate(t: PType): bool = result = t.kind == tyObject and t.sons[0] == nil and - not (t.sym != nil and sfPure in t.sym.flags) and + not (t.sym != nil and {sfPure, sfInfixCall} * t.sym.flags != {}) and tfFinal notin t.flags proc analyseObjectWithTypeFieldAux(t: PType,