bugDotGNU Portable.NET - Bugs: bug #1920, Bug in cscc WRT 'using System;...

 
 

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

bug #1920: Bug in cscc WRT 'using System; public enum System'

Submitted by:  None
Submitted on:  Sat 07 Dec 2002 03:47:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 08 Dec 2002 02:59:40 AM UTC, comment #1:

fixed in CVS

Gopal.V <t3rmin4t0r>
Project Administrator
Sat 07 Dec 2002 03:47:47 PM UTC, original submission:

using System;

public class Test
{
public enum System
{
Unix = 0,
Mac = 1,
Windows = 2
}

public static void Main (string[] args)
{
}
}

Compiles fine with mcs and runs with mono. Haven't tried csc yet.

This is the output from cscc:

manyoso@manyoso:~$ cscc -o test.exe test.cs
test.cs:12: invalid left operand to `.'
test.cs:12: invalid base type
test.cs:16: invalid left operand to `.'
test.cs:7: enumerated value is not constant
test.cs:8: enumerated value is not constant
test.cs:10: enumerated value is not constant

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
Sun 08 Dec 2002 02:59:40 AM UTCt3rmin4t0rStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1