Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.06 KB

BUG.md

File metadata and controls

23 lines (21 loc) · 1.06 KB

Bugs

Solved: 12/18

  • Struct elements pollute the global scope with non-existent variables.
  • Cannot call function as struct method with only one arg.
  • Macro-related bug (check expand_macro).
  • Function declarations do not work inside macros (fails signature check).
  • ma_cnt builtin is no longer working.
  • Div/Mod bug (Doesn't check in_reg == rax)
  • Implicit cast arr-ptr/ref doesn't work (Def.type_compatible).
  • Passing arguments from variadic macro to fun doesn't work.
  • Assignment/At-related bug (also in macros) ("15" = 5/"15" at (12 + 1)).
  • Cannot call function as a function param.
  • No type checking for reference and dereference (*bool = int64).
  • Faulty load before an assignment (div).
  • Assignment of array rvalue to ptr type
  • nr % 10 + '0' fails due to widen.
  • No non-int64 ptrs/arrays due to arr_type and ptr_type.
  • Save registers before calling a function.
  • *cstr results in a int64, not int8.
  • Add declared variables to fun's offset.
  • References aren't working.