Explorar o código

+ added else to case statement, avoid the warning, produce an internal error in this unexpected case

Nikolay Nikolov %!s(int64=2) %!d(string=hai) anos
pai
achega
da4980c4c0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      compiler/wasm32/aasmcpu.pas

+ 2 - 0
compiler/wasm32/aasmcpu.pas

@@ -283,6 +283,8 @@ uses
                   end;
                 a_end_if:
                   ThenDone:=True;
+                else
+                  internalerror(2023100501);
               end;
             end
           else