motoko
motoko copied to clipboard
Can't compile `base` library
In my Code text editor I have for line 124 of base 0.10.3 ExperimentalCycles.mo:
public let add : (amount : Nat) -> () = Prim.cyclesAdd;
the error:
expression of type
<system>Nat -> Nat
cannot produce expected type
Nat -> Nat
$ moc --version
Motoko compiler 0.11.0+ (source yh3wb1vx-vj8j4j32-k8gq4m8y-4cxlqinf)