Bug 324423 (MONO81748) - [GMCS] CS1644 not reported when using ISO-1 langversion
Summary: [GMCS] CS1644 not reported when using ISO-1 langversion
Status: RESOLVED FIXED
Alias: MONO81748
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.2
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Marek Safar
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-27 18:37 UTC by Gert Driesen
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:40:09 UTC


---- Reported by gert.driesen@pandora.be 2007-05-27 11:37:55 MST ----

When usng the ISO-1 langversion (gmcs /langversion:ISO-1), the following 
code snippet should not be considered valid:

class Program
{
  static void Main ()
  {
    global::System.Console.WriteLine ("ok");
  }
}

Expected result:

test.cs(5,5): error CS1644: Feature 'namespace alias qualifier' cannot be 
used because it is not part of the standardized ISO C# language 
specification

Actual result:

Successful compilation



---- Additional Comments From robertj@gmx.net 2007-05-27 12:14:31 MST ----

It seems that mcs has a similar problem:

partial class Test
{
}

mcs /target:library /langversion:ISO-1 test.cs

Expected result: compiler error (am not sure which one).

Actual result: successful compilation.





---- Additional Comments From marek.safar@seznam.cz 2007-06-13 06:22:12 MST ----

Fixed in SVN.