From: Jean Privat Date: Sat, 23 May 2015 01:01:18 +0000 (-0400) Subject: Merge: Missing a unboxing when compiling a call to `new NativeArray` X-Git-Tag: v0.7.5~36 X-Git-Url: http://nitlanguage.org Merge: Missing a unboxing when compiling a call to `new NativeArray` In the following code, ~~~nit var i i = 4 var na = new NativeArray[Object](i) ~~~ the declaration type of `i` is `nullable Object`, so the C-type of `i` is `val*` (and not `int`). Therefore, in the `new NativeArray`, it should be unboxed because the C signature expect a `int`. Pull-Request: #1365 Reviewed-by: Alexis Laferrière Reviewed-by: Alexandre Terrasa Reviewed-by: Lucas Bajolet --- 1cbdc9f53274ec2bb7530e06094535988ccd2ac7