Browse Source

* fix warning

Nikolay Nikolov 1 year ago
parent
commit
04a077707c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/wasm32/cpubase.pas

+ 2 - 0
compiler/wasm32/cpubase.pas

@@ -585,6 +585,8 @@ uses
     function encode_wasm_basic_type(wbt: TWasmBasicType): Byte;
     function encode_wasm_basic_type(wbt: TWasmBasicType): Byte;
       begin
       begin
         case wbt of
         case wbt of
+          wbt_unknown:
+            internalerror(2024011702);
           wbt_i32:
           wbt_i32:
             result:=$7F;
             result:=$7F;
           wbt_i64:
           wbt_i64: