Bug 321434 (MONO78712) - [GMCS] Wrong error given with poorly formed generic syntax
Summary: [GMCS] Wrong error given with poorly formed generic syntax
Status: RESOLVED FIXED
Alias: MONO78712
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Minor
Target Milestone: ---
Assignee: Raja R Harinath
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 20:42 UTC by Aaron Bockover
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
Test to show the bug (82 bytes, text/plain)
2006-06-26 20:42 UTC, Thomas Wiest
Details

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


---- Reported by abockover@novell.com 2006-06-26 13:42:02 MST ----

When leaving out the generic on a variable, gmcs says the B type or
namespace could not be found when in fact it should say something like "B
type requires " (C# Error 0305, I think?)

B b = new A<B>();

--

aaron@sledipus:~/Desktop$ gmcs cs0305-test.cs
cs0305-test.cs(9,3): error CS0246: The type or namespace name `B' could not
be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 0 warnings



---- Additional Comments From abockover@novell.com 2006-06-26 13:42:53 MST ----

Created an attachment (id=170016)
Test to show the bug




---- Additional Comments From marek.safar@seznam.cz 2007-02-18 13:10:29 MST ----

Fixed in SVN.

Imported an attachment (id=170016)

Unknown operating system unknown. Setting to default OS "Other".