Read a type error
Add : Type after a binding to state its type. Here the annotation says count is an int, but the value is a string. Check reports the problem without running the program and points back to main.mn.
Change "three" to 3. The automatic check is debounced, so it waits for a pause in your typing before it compiles.
fn main() {
let count: int = "three"
println(count)
}
Detailed reference →
Examples use the moon toolchain version shown beside each result.