adem0x / la-pe

Automatically exported from code.google.com/p/la-pe
0 stars 0 forks source link

Index array with result of overloaded method #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What will reproduce the problem?
var Arr:Array of Integer = [0,0];
begin
  Arr[ round(1) ];
end.

What is the expected output? What do you see instead?
Error: Don't know which overloaded method to call with params (Int32) at line 6

Which version are you using?
c96f612e0066    

Please provide any additional information below.
This happens whenever you try to index an array with the result of any 
overloaded method. If methods is not overloaded it works, IE: `Arr[ ceil(1) ]` 
works fine.

Original issue reported on code.google.com by JarlHo...@gmail.com on 9 Sep 2014 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by niels....@gmail.com on 28 Nov 2014 at 8:15