bugDotGNU Portable.NET - Bugs: bug #1885, cscc bug with params arguments

 
 

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

bug #1885: cscc bug with params arguments

Submitted by:  None
Submitted on:  Wed 04 Dec 2002 07:34:23 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 05 Dec 2002 10:16:26 AM UTC, comment #1:

fixed in cvs

Gopal.V <t3rmin4t0r>
Project Administrator
Wed 04 Dec 2002 07:34:23 PM UTC, original submission:

Hello :)

The code:

using System;

public class Test
{
public static void Outl (string format, params object[] arg)
{
Console.WriteLine (format, arg);
}

public static void Outl (string format)
{
Outl ("{0}", format);
}

public static void Main (string[] args)
{
Outl ("Success");
}
}

This fails when compiled with cscc:

manyoso@manyoso:~/dev/qtsharp/src/binge$ cscc -o test test.cs
test.cs:17: no matching method for call to `Outl(System.String)'
test.cs:17: candidates are: static void Test.Outl(System.String, params System.Object[])
test.cs:17: static void Test.Outl(System.String)

Anonymous

 

No files currently attached

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 05 Dec 2002 10:16:26 AM UTCt3rmin4t0rStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1