[Mono-bugs] [Bug 438672] New: CType isn' t recognized as constant when it can be constant

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 24 06:35:03 EDT 2008


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


           Summary: CType isn't recognized as constant when it can be
                    constant
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Major
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


rolf at linux:~/bug-411572> cat 3.vb
class c
        const i as integer = ctype (2ul, integer)
        shared sub main
        end sub
end class
rolf at linux:~/bug-411572> vbnc 3.vb
Visual Basic.Net Compiler version 0.0.0.5904
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/rolf/bug-411572/3.vb (2,9) : Error VBNC99999: Constant value is not
constant!
There were 1 errors and 0 warnings.
Compilation took 00:00:01.0705810


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list