From 8df15e7b64d82340e563b427d6aca56ce03cbcff Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Tue, 14 Feb 2012 18:42:05 +0400 Subject: [PATCH] =?UTF-8?q?Fixed=20#75=20=E2=80=94=20"unhandled=20repainti?= =?UTF-8?q?ng=20of=20return=20value"=20with=20static=20array=20of=20consts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gen/tocall.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gen/tocall.cpp b/gen/tocall.cpp index 1e3029d958..037e2208ab 100644 --- a/gen/tocall.cpp +++ b/gen/tocall.cpp @@ -636,6 +636,10 @@ DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions* retllval = DtoAggrPaint(retllval, DtoType(rbase)); break; + case Tsarray: + // nothing ? + break; + case Tclass: case Taarray: case Tpointer: