[Mono-bugs] [Bug 340202] New: gmcs compiles generic volatile field (csc does not)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 09:45:35 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=340202

           Summary: gmcs compiles generic volatile field (csc does not)
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: joncham at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=182632)
 --> (https://bugzilla.novell.com/attachment.cgi?id=182632)
Test case

Try and compile attached test case:

csc output:
error CS0677: 'Chameneos.Future<T>.t': a volatile field cannot be of the type
'T'

gmcs compiles successfully


-- 
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.


More information about the mono-bugs mailing list