[Mono-bugs] [Bug 592362] New: Dim i (0 to 1UL) as integer crashes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 30 13:03:09 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=592362#c0


           Summary: Dim i (0 to 1UL) as integer crashes
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Module Module1
    Sub Main()
    dim bytes (0 to 1L) 
    End Sub
End Module

produces:
Missed option: Int64_Int32
/home/rolf/test/test.vb (2,13)
/home/rolf/test/<MyGenerator> (1,1) : Error VBNC99999: Unexpected error: There
has been an internal error in the compiler: 
  at vbnc.Helper.Stop (System.String Message) [0x00014] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/General/Helper.vb:2543 
  at vbnc.Emitter.EmitConversion (System.Type FromType, System.Type ToType,
vbnc.EmitInfo Info) [0x00e5a] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Emit/Emitter.vb:1018 
  at vbnc.ArrayCreationExpression.EmitArrayCreation (vbnc.ParsedObject Parent,
vbnc.EmitInfo Info, System.Type ArrayType, vbnc.ArraySizeInitializationModifier
asim) [0x000d1] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Expressions/ArrayCreationExpression.vb:107 
  at vbnc.VariableDeclaration.EmitVariableInitializer (vbnc.EmitInfo Info)
[0x00189] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Members/VariableDeclaration.vb:452 
  at vbnc.VariableDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00048] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Members/VariableDeclaration.vb:338 
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x000c6] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Code/CodeBlock.vb:546 
  at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00044] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Code/CodeBlock.vb:469 
  at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00090] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/General/MethodBaseDeclaration.vb:255 
  at vbnc.MethodDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00002] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Members/MethodDeclaration.vb:162 
  at vbnc.SubDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x0001b] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/Members/SubDeclaration.vb:102 
  at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo
Info) [0x00025] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/General/Helper.vb:2385 
  at vbnc.BaseObjects`1[T].GenerateCode (vbnc.EmitInfo Info) [0x00000] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/General/BaseObjects`1.vb:74 
  at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x00002] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:169 
  at vbnc.AssemblyDeclaration.Emit () [0x00043] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:516 
  at vbnc.Compiler.Compile () [0x00399] in
/mono/main/git/mono-basic-master/vbnc/vbnc/source/General/Compiler.vb:593

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