diff --git a/Convention/[RScript] b/Convention/[RScript] index 7b48066..7eb53fc 160000 --- a/Convention/[RScript] +++ b/Convention/[RScript] @@ -1 +1 @@ -Subproject commit 7b48066aafbbb9479715961873fe2938b225daec +Subproject commit 7eb53fc3c545c6bbfb4dce11be656d20ab1b253c diff --git a/[Test]/Program.cs b/[Test]/Program.cs index a051f0a..74ea8ea 100644 --- a/[Test]/Program.cs +++ b/[Test]/Program.cs @@ -50,9 +50,13 @@ namespace(func1) label(end); ", import); var data = RScriptSerializer.SerializeClass(result); - var file = new ToolFile("F:\\test.dat"); + var file = new ToolFile("F:\\test_after_run.dat"); file.SaveAsBinary(data); data = file.LoadAsBinary(); engine.Run(RScriptSerializer.DeserializeClass(data), import); + return; + var data2 = RScriptSerializer.SerializeClass(engine.GetCompileResultFromCurrent()); + var file2 = new ToolFile("F:\\test_after_run.dat"); + file2.SaveAsBinary(data2); } } \ No newline at end of file