[Mono-list] Expression Namespace (System) did not set its type after Resolve
Colin JN Breame
colin at breame.net
Wed Jan 17 11:47:52 EST 2007
Hello,
Compiling [1] gives [2].
I'm running mono 1.1.17.2. I'm unable to install the latest version.
Could someone confirm if this is happening on 1.2?
Thanks,
Colin.
[1] test.cs
public class test_t {
public static void Main() {
System = "hello";
}
}
[2] The exception
Exception caught by the compiler while compiling:
Block that caused the problem begin at: test.cs(3,21):
Block being compiled: [test.cs(3,28):,test.cs(5,2):]
System.Exception: Expression Namespace (System) did not set its type after
Resolve
Unhandled Exception: System.Exception: Expression Namespace (System) did
not set its type after Resolve
at Mono.CSharp.Expression.ResolveLValue (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression right_side, Location loc) [0x00000]
at Mono.CSharp.Assign.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]
More information about the Mono-list
mailing list