Skip to content

2.2.6

Choose a tag to compare

@caffeine-ci-bot caffeine-ci-bot released this 28 Nov 00:35
· 13 commits to master since this release
a8eeee6
  • motoko (moc)

    • bugfix: a let or-pattern whose alternatives bind the same variable at
      different types (e.g. Nat64 and ?Text, or Null and ?Text) could
      trap or skip the garbage collector's write barrier when the right
      alternative matched (#6535).

    • bugfix: performanceCounter(1) now reads counter 1, the instructions of
      the whole call context. The counter type was dropped on the way to the
      system API, so every counter type read counter 0. This affected the
      64-bit (enhanced orthogonal persistence) backend since 0.13.0. An
      unsupported counter type, such as 2, now traps instead of reading
      counter 0 (#6545).

    • bugfix: a timeout on a raw call (call_raw, core's IC.call) now
      reaches the callee, so the call is best-effort as with a typed call.
      It used to apply only to the self-call into call_raw (#6552).