summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-05-05 16:08:16 +0200
committerAraq <rumpf_a@web.de>2019-05-05 16:08:16 +0200
commit0ecaaa85e9395dc7ae947d6466698cef66f48f5c (patch)
treeb4121b6d9e82bac94c38362ad3d0ce07eba1a1ce /compiler/ccgexprs.nim
parente42c304e4ae623ea8dea9594b531f119bb4142e9 (diff)
downloadNim-0ecaaa85e9395dc7ae947d6466698cef66f48f5c.tar.gz
fixes #9403
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index e03c4b1c1..244b96108 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -1912,7 +1912,7 @@ proc genOrd(p: BProc, e: PNode, d: var TLoc) =
 
 proc genSomeCast(p: BProc, e: PNode, d: var TLoc) =
   const
-    ValueTypes = {tyTuple, tyObject, tyArray, tyOpenArray, tyVarargs}
+    ValueTypes = {tyTuple, tyObject, tyArray, tyOpenArray, tyVarargs, tyUncheckedArray}
   # we use whatever C gives us. Except if we have a value-type, we need to go
   # through its address:
   var a: TLoc