dplassgit/d2lang

Inlining an array instantiation can fail

Closed this issue · 1 comments

E.g.,

f:proc(i:int) {
  x:int[2]
  x[0]=i
  println x[0]
}

f(1)

I think the first x:int[2] is not mapped in the InlineMapper but yet somehow it was still passing tests?

Fixed in e97cad2