forked from pool/gbrainy
Dominique Leuenberger
8e74b26a8f
OBS-URL: https://build.opensuse.org/request/show/147984 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=50
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)
|