History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-261
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Philippe Quesnel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

compiler error on passing a callable with incorrect nbr of params

Created: 25/Feb/05 12:48 PM   Updated: 27/Jun/05 09:34 PM
Component/s: Compiler
Affects Version/s: 0.5
Fix Version/s: 0.5.6

Time Tracking:
Not Specified

Environment: Windows2000, Ms .NET 1.1, Boo 0.5


 Description  « Hide
we get "BCE0055: Internal compiler error: Index was outside the bounds of the array"
when compiling an assignation of a callable (method/function) to a callable variable / parameter with a different number of parameters.

eg:

callable MyCallable(i as int) as string

// note incorrect nbr of params vs MyCallable(
def func2(i as int, a as string) as void:
print i, a

call as MyCallable = func2



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.