logo       

[jira] Created: (BOO-261) compiler error on passing a callable with incorre: msg#00065

lang.boo.devel

Subject: [jira] Created: (BOO-261) compiler error on passing a callable with incorrect nbr of params

Message:

A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/BOO-261

Here is an overview of the issue:
---------------------------------------------------------------------
Key: BOO-261
Summary: compiler error on passing a callable with incorrect nbr of params
Type: Bug

Status: Unassigned
Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown

Project: Boo
Components:
Compiler
Versions:
0.5

Assignee:
Reporter: Philippe Quesnel

Created: Fri, 25 Feb 2005 12:48 PM
Updated: Fri, 25 Feb 2005 12:48 PM
Environment: Windows2000, Ms .NET 1.1, Boo 0.5

Description:
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



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise