motoko
motoko copied to clipboard
Bug: await on async of None type crashes compiler
https://forum.dfinity.org/t/type-error-m0139-inner-actor-classes-are-not-supported-yet/18135/19
TBC
import Debug "mo:base/Debug";
shared (deployer) actor class Test() {
public shared (context) func test(): async () {
await async {
Debug.trap("");
};
};
};
Crashes in ir checker due to None type
Has this been fixed?
Has this been fixed?
I doubt it.