-
When I'm running the example code, there's an error:
```
/blockchain-and-cryptocurrency/vendor/motoko-token/src/Hex.mo:20.22-20.27: type error [M0029], unbound type Word8
```
My dfx version is…
109km updated
2 years ago
-
Something is wrong.
I see in the terminal:
```
$ dfx deploy frontend
...
Building frontend...
```
and in the same time have 100% (one core) allocated to `moc` process.
How is compiling…
-
```
[nix-shell:~/motoko/rts]$ rlwrap moc
Motoko compiler (revision 0.4.6-36-g920c0c711)
> switch 0 { case (x:Nat) x};
0 : Nat
> switch 0 { case (x:Int) x};
0 : Nat
> switch {x = 1} { case (x:{}…
-
A user has requested an infinite precision bitwise negation operator on Nat and Int.
https://forum.dfinity.org/t/how-motoko-uses-the-bitwise-negation-operator/7428/8
Should be easy to support, a…
-
This was motoko code generated by Go. I try and make the generator as close to the prettified output as possible.
![image](https://user-images.githubusercontent.com/84897664/194167679-0db47ec3-ad0…
-
It just contains a bunch of trapping functions now. Call it `Assert.mo`? And change motoko doc to match. Or merge into Debug?
-
There is currently no easy way for a Motoko program to recover from a synchronous failure to send message, e.g. due to queue is full or other errors.
Copying thread from slack
Paul Liu
Am I…
-
This repository still ships `didc`, as documented in https://github.com/dfinity/motoko/blob/master/design/DFX-Interface.md#compiling-idl-files-to-js. But I believe that the Rust-implemented `didc` sup…
-
I tried the following:
1. dfx new --frontend vanilla hello
2. dfx deploy --network=ic
I expected it to successfully deploy both backend and frontend canisters.
Instead, this happened:
…
-
To avoid cylic definitions, requires a cycle breaking Types.mo (useful anyway) or motoko's special mo:prim to export all primitive types under their own name.