From 20a5e37169669702868341ed6e3266372cab9eba Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 8 Jan 2013 17:23:52 +0100 Subject: fixes #270 --- compiler/ccgexprs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/ccgexprs.nim') diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index cb0dcfe00..26144c152 100755 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -1648,7 +1648,7 @@ proc downConv(p: BProc, n: PNode, d: var TLoc) = initLocExpr(p, n.sons[0], a) var r = rdLoc(a) if skipTypes(n.sons[0].typ, abstractInst).kind in {tyRef, tyPtr, tyVar} and - n.sons[0].kind notin {nkHiddenAddr, nkAddr}: + n.sons[0].kind notin {nkHiddenAddr, nkAddr, nkObjDownConv}: app(r, "->Sup") for i in countup(2, abs(inheritanceDiff(dest, src))): app(r, ".Sup") r = con("&", r) -- cgit 1.4.1-2-gfad0 > This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/koch.nim.cfg
blob: 1d7acf579cce289a7173c01360199916a3ed5377 (plain) (blame)
1