diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-22 16:30:09 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-22 16:30:09 -0700 |
commit | 093036e8a141547d9a16c6cd5383728a79dd1811 (patch) | |
tree | 103805f1360fac4f28803b0319d585f89a9f578f /101run_sandboxed.cc | |
parent | f7085b465489bf1fa57c2339409f9ff678ddd1ed (diff) | |
download | mu-093036e8a141547d9a16c6cd5383728a79dd1811.tar.gz |
3408
Diffstat (limited to '101run_sandboxed.cc')
-rw-r--r-- | 101run_sandboxed.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/101run_sandboxed.cc b/101run_sandboxed.cc index 46331b49..f15e4d2a 100644 --- a/101run_sandboxed.cc +++ b/101run_sandboxed.cc @@ -472,17 +472,7 @@ case RELOAD: { } :(before "End Primitive Recipe Implementations") case RELOAD: { - // conundrum: need to support repeated reloads of the same code, but not - // wipe out state for the current test - // hacky solution: subset of restore_snapshots() without restoring recipes { - // can't yet define containers in a test that runs 'reload' - Type_ordinal = Type_ordinal_snapshot; - Type = Type_snapshot; - // can't yet create new specializations of shape-shifting recipes in a test - // that runs 'reload' - Recipe_variants = Recipe_variants_snapshot; - Name = Name_snapshot; - // } + restore_non_recipe_snapshots(); string code = read_mu_text(ingredients.at(0).at(0)); run_code_begin(/*should_stash_snapshots*/false); routine* save_current_routine = Current_routine; |