@@ -130,15 +130,7 @@ export function* evalCodeSaga(
130130 const entrypointCode = files [ entrypointFilePath ] ;
131131
132132 function call_variant ( variant : Variant ) {
133- if ( variant === Variant . LAZY ) {
134- return call ( runFilesInContext , files , entrypointFilePath , context , {
135- scheduler : 'preemptive' ,
136- originalMaxExecTime : execTime ,
137- stepLimit : stepLimit ,
138- useSubst : substActiveAndCorrectChapter ,
139- envSteps : currentStep
140- } ) ;
141- } else if ( variant === Variant . WASM ) {
133+ if ( variant === Variant . WASM ) {
142134 // Note: WASM does not support multiple file programs.
143135 return call (
144136 wasm_compile_and_run ,
@@ -256,7 +248,6 @@ export function* evalCodeSaga(
256248 } ) ;
257249 }
258250
259- const isLazy : boolean = context . variant === Variant . LAZY ;
260251 const isWasm : boolean = context . variant === Variant . WASM ;
261252 const isC : boolean = context . chapter === Chapter . FULL_C ;
262253 const isJava : boolean = context . chapter === Chapter . FULL_JAVA ;
@@ -284,7 +275,7 @@ export function* evalCodeSaga(
284275 result :
285276 actionType === InterpreterActions . debuggerResume . type
286277 ? call ( resume , lastDebuggerResult )
287- : isLazy || isWasm
278+ : isWasm
288279 ? call_variant ( context . variant )
289280 : isC
290281 ? call ( cCompileAndRun , entrypointCode , context )
0 commit comments