Commit 6daa4ba8 authored by Felix Freiberger's avatar Felix Freiberger

Type fix. Fixes #3.

parent e837ebb4
Pipeline #20067 passed with stages
in 1 minute and 57 seconds
......@@ -2007,7 +2007,7 @@ const compilePCIfStmt = function (statement: PseuCo.IfStmt, state: CompilerState
};
const compilePCWhileOrDoStmt = function (statement: PseuCo.WhileStmt, state: CompilerState, scope: Scope, loopExits: LoopExits, endPlaceKey: string): PartCompilationResult {
const compilePCWhileOrDoStmt = function (statement: PseuCo.WhileStmt | PseuCo.DoStmt, state: CompilerState, scope: Scope, loopExits: LoopExits, endPlaceKey: string): PartCompilationResult {
requireString(endPlaceKey);
const isDo = statement instanceof PseuCo.DoStmt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment