Hi,
I just wanted to ask: Is there no implicit cast for enums in general? It is not listed here in the documentation (https://odin-lang.org/docs/overview/#implicit-type-conversions) and my example from below requires an explicit cast.
package main
import "core:fmt"
main :: proc() {
OpCode :: enum u8 {
OP_RETURN,
}
code: [dynamic]u8
append(&code, OpCode.OP_RETURN) // this doesn't work
append(&code, cast(u8)OpCode.OP_RETURN) // requires explicit cast
fmt.printf("%d", code[0])
}