17 lines
608 B
Diff
17 lines
608 B
Diff
|
Index: src/Core/Libraries/CSharpCompiler.cs
|
||
|
===================================================================
|
||
|
--- src/Core/Libraries/CSharpCompiler.cs.orig
|
||
|
+++ src/Core/Libraries/CSharpCompiler.cs
|
||
|
@@ -44,10 +44,7 @@ namespace gbrainy.Core.Libraries
|
||
|
|
||
|
public CSharpCompiler ()
|
||
|
{
|
||
|
- CompilerSettings settings = new CompilerSettings ();
|
||
|
- Report report = new Report (new NullReportPrinter ());
|
||
|
-
|
||
|
- evaluator = new Evaluator (settings, report);
|
||
|
+ evaluator = new Evaluator (new CompilerContext (new CompilerSettings (), new NullReportPrinter ()));
|
||
|
}
|
||
|
|
||
|
public void EvaluateCode (string code)
|