diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-04-01 16:54:27 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-04-01 16:54:27 +0400 |
commit | 71dd19080b46d189ef401c2324ca9ae40771b6a3 (patch) | |
tree | 9f5147d9ff841565d37d72942059e95e52ba61e6 /mcs/errors/cs0267.cs | |
parent | 0f62cbb5eb5447baa2a55dad248fe65377fc2eb3 (diff) |
In mcs:
* cs-tokenizer.cs (consume_identifier): Treat 'partial' as a
keyword in 'partial enum' too.
* cs-parser.jay (enum_declaration): Add CS0267 check ('partial enum'
is not allowed).
Report from Kamil Skalski <nazgul@omega.pl>.
Fix #74309.
* rootcontext.cs (ResolveTree): The 'root.Interfaces' list can
have partial containers too.
In tests:
* test-359.cs: New test from #74309.
In errors:
* cs0267.cs: New. Mentioned in passing in #74309.
svn path=/trunk/mcs/; revision=42459
Diffstat (limited to 'mcs/errors/cs0267.cs')
-rw-r--r-- | mcs/errors/cs0267.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/errors/cs0267.cs b/mcs/errors/cs0267.cs new file mode 100644 index 00000000000..66431b34b87 --- /dev/null +++ b/mcs/errors/cs0267.cs @@ -0,0 +1 @@ +partial enum e {} |