boo-lang / boo

The Boo Programming Language.
BSD 3-Clause "New" or "Revised" License
874 stars 148 forks source link

Generic type inference fails for arrays #100

Closed masonwheeler closed 6 years ago

masonwheeler commented 9 years ago
def Test():
   arr as (int)
   Array.Resize(arr, 5)

Expected: Type inference detects that we're dealing with an array of ints here Observed: Type inference fails, and requires the last line to be stated as Array.Resize[of int](arr, 5)