bugDotGNU Portable.NET - Bugs: bug #8016, "no matching method"...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8016: "no matching method" error for "params Object[]" formal parameter

Submitted by:  Russell Stuart <rstuart>
Submitted on:  Fri 05 Mar 2004 09:20:35 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 11 Mar 2004 12:54:52 AM UTC, comment #4:

Fixed by patch #2776, which was applied on 11 March 2004.

Rhys Weatherley <rweather>
Project Administrator
Wed 10 Mar 2004 07:04:44 AM UTC, comment #3:

See patch #2776

Anonymous
Wed 10 Mar 2004 04:49:31 AM UTC, comment #2:

the essential question to this is should

mystring.Split(new Char[]{','});

should this be compiled properly ?

Anonymous
Fri 05 Mar 2004 10:06:49 AM UTC, comment #1:

the fix seems to be to ignore some cases in cscc cs_invoke.tc , see attached patch. Not sure about the validity of the fix .

Anonymous
Fri 05 Mar 2004 09:20:35 AM UTC, original submission:

This code:
class X {
void x(params Object[] args) { this.x(new byte[0], 0); }
}
when compiled with cscc -c x.c, gives this error message:
no matching method for call to `x(byte[], int)'

Russell Stuart <rstuart>
Project Member

 

Attached Files
file #1103:  cscc.patch added by None (710B - application/octet-stream - Tentative Patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 11 Mar 2004 12:54:52 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 05 Mar 2004 10:06:49 AM UTCNoneAttached File-=>Added cscc.patch, #1084

Back to the top


Powered by Savane 3.1-cleanup1