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

Submitter:  Russell Stuart <rstuart>
Submitted:  Fri 05 Mar 2004 09:20:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group administrator
Wed 10 Mar 2004 07:04:44 AM UTC, comment #3: 
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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-03-11 rweather StatusNone Fixed
    Open/ClosedOpen Closed
2004-03-05 None Attached File- Added cscc.patch, #1084

Back to the top

Powered by Savane 3.12