Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 1.76 KB

BUG.md

File metadata and controls

35 lines (33 loc) · 1.76 KB

Bugs

Solved: 23/29

  • No type checking for array access idx.
  • No type checking when passing sig to fun.
  • Bug with functions returning refs.
  • Create Def.fun_locals.
  • Macros cause buggy behaviour with UFCS.
  • Make that control structures create blocks.
  • Parser.ref does not implicit cast-to-ref (add try_cast_ref)
  • Functions like input are predeferred.
  • Using an iterator i in a for loop does not compile correctly.
  • Nested UFCS expressions (s.equals("Hello".str))
  • The type of an overloaded function with a diff type than the first takes the type of the first overloaded function
  • Pointer to struct displayed as "long long*". (no name field in elem_ckind)
  • Struct elements pollute the global scope with non-existent variables.
  • Cannot call function as struct method with only one arg.
  • Function declarations do not work inside macros (fails signature check).
  • Macro-related bug (check expand_macro).
  • ma_cnt builtin is no longer working.
  • Div/Mod bug for asm backend (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.