[Mono-bugs] [Bug 494269] New: Compiler crash using return from a Sub

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 13 05:10:20 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=494269


           Summary: Compiler crash using return from a Sub
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Minor
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


class C
    shared sub Main
        dim a = Main ()
    end sub
end class

A warning message should have been shown: 'Variable type should be specified.'
/home/rolf/test/lessgeneric/<MyGenerator> (1,1) : Error VBNC99999: Unexpected
error: There has been an internal error in the compiler caused by the line:
(3,18)
  at vbnc.Expression.ReclassifyToValueExpression () [0x00161] in
/mono/main/src/mono-basic/vbnc/vbnc/source/Expressions/Expression.vb:441

-- 
Configure bugmail: http://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