[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]cscc bug with param arguments

From: Adam Treat
Subject: [DotGNU]cscc bug with param arguments
Date: Wed, 4 Dec 2002 14:38:16 -0500
User-agent: KMail/1.4.7

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:

address@hidden:~/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 
test.cs:17:                 static void Test.Outl(System.String)

And yes, I've put it in the savannah bug list ;)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]