Closed mtarik34b closed 2 months ago
Assignment completion for unions of enums seem currently not supported:
package pkg import "core:fmt" Subenum1 :: enum { ONE } Subenum2 :: enum { TWO } Superenum :: union { Subenum1, Subenum2 } fn :: proc(mode: Superenum) { fmt.println(mode) } main :: proc() { fn(.) }
Added support for it on the rename branch. Will close this issue when it's merged to master.
Merged
Assignment completion for unions of enums seem currently not supported: