X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fmcs%2Feval.cs;h=6782d573a406830981cd1b06a90daff32eae586c;hb=89505e0582de3fc98826a2415839d9172e101602;hp=e9758dade72d6064887ca088cf68ad751652ef87;hpb=f3e4623ee9709a580dbc8d4112fb9558f2c557c3;p=mono.git diff --git a/mcs/mcs/eval.cs b/mcs/mcs/eval.cs index e9758dade72..6782d573a40 100644 --- a/mcs/mcs/eval.cs +++ b/mcs/mcs/eval.cs @@ -128,7 +128,6 @@ namespace Mono.CSharp { CompilerCallableEntryPoint.Reset (); RootContext.ToplevelTypes = new ModuleCompiled (ctx, true); /*var ctypes = */TypeManager.InitCoreTypes (); - TypeManager.InitExpressionTypes (); Import.Initialize (); driver.LoadReferences (); @@ -1188,7 +1187,7 @@ namespace Mono.CSharp { } Arguments args = new Arguments (1); - args.Add (new Argument (new TypeOf (source, Location))); + args.Add (new Argument (new TypeOf ((TypeExpr) clone, Location))); source = new Invocation (new SimpleName ("Describe", Location), args).Resolve (ec); } Evaluator.SetPrinter (old_printer);