Bugzilla – Bug 321434
[GMCS] Wrong error given with poorly formed generic syntax
Last modified: 2007-09-15 21:24:23 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".