Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78712 --- shadow/78712 2006-06-26 13:42:02.000000000 -0400 +++ shadow/78712.tmp.13601 2006-06-26 13:42:02.000000000 -0400 @@ -0,0 +1,30 @@ +Bug#: 78712 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Wrong error given with poorly formed generic syntax + +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>(); + +-- + [EMAIL PROTECTED]:~/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 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
