[Mono-bugs] [Bug 375297] New: Compiler regression in mono 1. 9 when compiling code that use IEnumerable
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Mar 30 16:46:49 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=375297
Summary: Compiler regression in mono 1.9 when compiling code that
use IEnumerable
Product: Mono: Compilers
Version: 1.9.0
Platform: x86
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: anders at iola.dk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Nemo used to compile but with mono 1.9 the compiler breaks down trying to
compile. I tried extracting a simple test case but that didn't work. You should
be able to download the source and do a simple make to reproduce the problem.
The source are available here:
http://iola.dk/nemo/downloads/nemo-0.2.2.tar.bz2
The backtrace I get from the compiler is:
Exception caught by the compiler while compiling:
Block that caused the problem begin at: metadata/MetadataStore.cs(272,21):
Block being compiled:
[metadata/MetadataStore.cs(273,9):,metadata/MetadataStore.cs(279,9):]
System.NullReferenceException: Object reference not set to an instance of an
object
Internal compiler error at metadata/MetadataStore.cs(272,21):: exception caught
while emitting MethodBuilder [MetadataStore::sync_with_filesystem]
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at Mono.CSharp.AnonymousMethodExpression.ExplicitTypeInference
(Mono.CSharp.TypeInferenceContext type_inference, System.Type delegate_type)
[0x00000]
at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec,
Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) [0x00000]
at Mono.CSharp.TypeInferenceV3.InferMethodArguments (Mono.CSharp.EmitContext
ec, System.Reflection.MethodBase method) [0x00000]
at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList arguments, System.Reflection.MethodBase& method)
[0x00000]
at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList arguments, Int32 arg_count,
System.Reflection.MethodBase& method, System.Boolean& params_expanded_form)
[0x00000]
at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc)
[0x00000]
at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec)
[0x00000]
at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000]
at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext
ec) [0x00000]
at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext ec)
[0x00000]
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters
ip, IMethodData md, System.Boolean& unreachable) [0x00000]
make: *** [all] Error 1
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list