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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to