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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=444566#c3





--- Comment #3 from Ciaran Gultnieks <[EMAIL PROTECTED]>  2008-11-13 13:20:20 
MST ---
I don't think it's related to bug #431112. Some more info based on the pointers
you've provided above:

1. System.Collections.Generic is not included as a project level import, but it
is already included in all the files where generics are used. As a test, I
added the import to EVERY file in the project, but the error still occurred.
2. There are some project level imports present in the project file, but I can
see that they are being passed on the command-line to the compiler
successfully, like this:
-imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Drawing,System.Windows.Forms
   That list matches the Import elements in the .vbproj file perfectly.
3. It's hard to supply you with the full source to reproduce this, as it's a
very large project with a lot of dependencies, some proprietary (for now). I am
trying to reproduce it in a smaller project but no luck yet.
4. Finally, and this seems like it might be useful, I manually appended
-imports:System.Collections.Generic to the command line (i.e. running vbnc from
the terminal rather than MonoDevelop) and with that import added, I get this:

/home/ciaran/l/<MyGenerator> (1,1) : Error VBNC99999: Unexpected error: There
has been an internal error in the compiler.
  at vbnc.ExternalSubDeclaration.ResolveMember (vbnc.ResolveInfo Info)
[0x0013d] in
/home/ciaran/mono/mono-basic/vbnc/vbnc/source/Members/ExternalSubDeclaration.vb:118
 
  at vbnc.AssemblyDeclaration.ResolveMembers (vbnc.TypeDeclaration Type)
[0x00078] in
/home/ciaran/mono/mono-basic/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:378
 
  at vbnc.AssemblyDeclaration.ResolveMembers () [0x0002a] in
/home/ciaran/mono/mono-basic/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:361
 
  at vbnc.Compiler.Compile_Resolve () [0x0017f] in
/home/ciaran/mono/mono-basic/vbnc/vbnc/source/General/Compiler.vb:426 
  at vbnc.Compiler.Compile () [0x0028a] in
/home/ciaran/mono/mono-basic/vbnc/vbnc/source/General/Compiler.vb:561 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to