[Mono-bugs] [Bug 629103] New: Getting a GUID back from unmanaged code as a parameter makes VB.Net compiler fail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 6 09:12:43 EDT 2010


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

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


           Summary: Getting a GUID back from unmanaged code as a parameter
                    makes VB.Net compiler fail
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: i686
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: simar at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: No


Created an attachment (id=381271)
 --> (http://bugzilla.novell.com/attachment.cgi?id=381271)
vb code that makes the compiler fail.

Description of Problem:
If I try to compile the attached example, the VB.Net compiler asks me to file a
bug.

Steps to reproduce the problem:
1. compile the example


Actual Results:
vbnc
"-out:/home/simar/Projects/SizeParamIndex_notImplemented/SizeParamIndex_notImplemented/bin/Debug/SizeParamIndex_notImplemented.dll"
-nologo -utf8output -quiet -debug:full -optionstrict+ -optionexplicit+
-optioncompare:binary -optioninfer-
-rootnamespace:SizeParamIndex_notImplemented -main:TestCase -target:library 
"/home/simar/Projects/SizeParamIndex_notImplemented/SizeParamIndex_notImplemented/TestCase.vb"
Error : VBNC99997: You've encountered something in the compiler which is not
implemented. Please file a bug (see instructions here:
http://mono-project.com/Bugs)

Assembly 'SizeParamIndex_notImplemented, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' saved successfully to
'/home/simar/Projects/SizeParamIndex_notImplemented/SizeParamIndex_notImplemented/bin/Debug/SizeParamIndex_notImplemented.dll'.

1 errors, but compilation succeeded? ShowErrors

/home/simar/Projects/SizeParamIndex_notImplemented/SizeParamIndex_notImplemented/<MyGenerator>
(1,1) : Error VBNC99999: Unexpected error: There has been an internal error in
the compiler: Consistency check failed

  at vbnc.Compiler.VerifyConsistency (Boolean result, System.String Location)
[0x000a3] in
/usr/src/packages/BUILD/mono-basic-2.6.2/vbnc/vbnc/source/General/Compiler.vb:132 
  at vbnc.Compiler.Compile () [0x0049f] in
/usr/src/packages/BUILD/mono-basic-2.6.2/vbnc/vbnc/source/General/Compiler.vb:630 

Compilation took 00:00:00.7086900

Expected Results:
some compiled binary

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