bugDotGNU Portable.NET - Bugs: bug #9273, const locals cannot be used in...

 
 

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

bug #9273: const locals cannot be used in switch case

Submitted by:  Llewellyn Pritchard <leppie>
Submitted on:  Wed 09 Jun 2004 06:53:51 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 10 Jun 2004 08:58:47 AM UTC, comment #1:

Fixed in CVS 10th June 2004 .

Gopal.V <t3rmin4t0r>
Project Administrator
Wed 09 Jun 2004 06:53:51 PM UTC, original submission:

const char TAB = '\t';
const char SPACE = ' ';

swicth (a)
{
case TAB:
case SPACE:
break;
}

Compiler complains.

Llewellyn Pritchard <leppie>
Project Member

 

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 10 Jun 2004 08:58:47 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1