-
```
Fatal error: exception (Invalid_argument Type.lookup_val_field)
Raised at Mo_types__Type.invalid in file "mo_types/type.ml", line 365, characters 16-54
Called from Codegen__Compile.Object.is_mu…
-
Currently it's incredibly difficult to debug RTS or code generator issues because the error messages do not help, they simply say "canister trapped". Here's an actual example:
```
ingress Err: IC0…
-
I would much rather master Rust than master Motoko, for many reasons. Communicate with the team and see how long it will take for Rust to be supported in the SDK. Then make a decision to continue with…
-
Looks like we still haven’t found the grail yet…
TL;DR: Our relaxed coercion rules for opt (#110 and following) may lead to “hard” deserialization errors later on.
I seems that the following can…
-
Hello there, I wanted to create a benchmark of this project and landed on the examples which looked promising.
However, this happened. It fails to build!
**$ dfx canister create sub**
Creating …
-
```
Traceback (most recent call last):
23: from /usr/local/bin/bacon:23:in `'
22: from /usr/local/bin/bacon:23:in `load'
21: from /Library/Ruby/Gems/2.6.0/gems/bacon-1.2.0/bin/bacon:115:in `'
…
-
A right-biased intersection operator like TypeScript's `&` would be nice.
Use case: writing an API which returns and consumes some record type, let's say
```
type Animal = {
species: String;…
-
Most of the standard lib has very good and useful comments. Array is the most notable exception as it's going to be widely used and could use some commenting.
hansl updated
3 years ago
-
The current languages that support Candid generation (Motoko and JavaScript) allow for inline types (defining inlined structures and arrays), but new languages that we want to add support to use Candi…
hansl updated
4 years ago
-
Full repro here https://github.com/nzoghb/motoko-bugs
Ok, I've started investigating and can reproduce the bug (even on master) so we still have it. The basic problem is that private shared is …