jasmin icon indicating copy to clipboard operation
jasmin copied to clipboard

Well-typed program rejected by the type-checker

Open vbgl opened this issue 4 months ago • 0 comments

The following program is well-typed, yet, it is rejected by the pre-typing phase (since version 2022.04).

fn id(reg u64 x) -> reg u64 { return x; }

inline
fn test() -> reg u64 {
  reg u64 r;
  r = id(42);
  return r;
}

vbgl avatar Feb 13 '24 05:02 vbgl