Closed crusso closed 3 years ago
It is not the case that () <: (record { … })
; this was a breaking change. The replica still supports both interfaces, as per transition plan (see PR description of https://github.com/dfinity-lab/ic-ref/pull/250), but ic-ref
does not. (Tension between the reference implementation purpose and emulator purpose).
But since (record {…}) <: ()
we should upgrade now; it’ll still work with old ic-ref
, but ideally we have changd that by the time the SDK team upgrades to ic-ref
0.17
You can bump ic-ref
to release-0.17
as you do this.
Motoko's asserted
ic00
type ininternals.mo
no longer coincides with that of the spec, e.g.create_canister
now takes a record argument but Motoko still just assumes a unit argument. I've just about convinced myself that is still ok, given Candid rules (tuples are records, and the record only has an optional field) but is that actually the case (@nomeata?).