From 33bf7839baf886a1a1a7bf1880acd712b9fe24b3 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 1 Jun 2020 12:33:13 +0200 Subject: [PATCH] fixes #14514 [backport:1.2] (#14533) (cherry picked from commit 8710395a0f7b57bab755ea826a82e3ceef85aa52) --- compiler/ccgcalls.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/ccgcalls.nim b/compiler/ccgcalls.nim index e19e96503f..10f5ef638a 100644 --- a/compiler/ccgcalls.nim +++ b/compiler/ccgcalls.nim @@ -43,7 +43,9 @@ proc preventNrvo(p: BProc; le, ri: PNode): bool = for i in 1.. 0 or locationEscapes(p, le)): message(p.config, le.info, warnObservableStores, $le)