jakt
jakt copied to clipboard
Typechecker: enum methods can't see structs
Example:
struct Foo {
id: usize
}
enum What {
Bar
Baz
function count(this) {
Foo(id: 100)
}
}
function main() {
}
Errors with: "Could not resolve call to Foo"