https://bugzilla.novell.com/show_bug.cgi?id=434589
Summary: Regression in Generics from 1.9.1
Product: Mono: Compilers
Version: 2.0
Platform: x86-64
OS/Version: openSUSE 11.0
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Community User
Created an attachment (id=245011)
--> (https://bugzilla.novell.com/attachment.cgi?id=245011)
Test Case that compiled on 1.9.1, but not 2.0
(This is my first bug logged, so I apologise if the information I provide is
incomplete)
I have been using EntitySpaces with great success in Mono 1.9.1. Once I
upgraded to Mono 2.0 the EntitySpaces generated code failed to compile.
Down-grading to 1.9.1 has made it function again.
Looking at the code it is choking on it appears to be a completely
inappropriate error message, but I know nothing about the internal workings of
the compiler.
I have attached the code and a nant script to compile it. This code compiled on
Microsoft dotNet 2.0, Mono 1.9.1, but not Mono 2.0. I have included log files
from 1.9.1 and 2.0 on my machine, including the output of "mono --version".
The error message I recieve is:
[csc]
/home/brett/Desktop/_ServerLibTestCase/src/entityspaces/generated/Account.cs(462,179):
error CS0453: The type `EntitySpaces.Interfaces.esQueryItem' must be a
non-nullable value type in order to use it as type parameter `T' in the generic
type or method `System.Nullable<T>'.
Regards,
Brett
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs