enum Material { case fire case water init?(_ x: Int) { self = .fire } } func g(_ material: Material) {} // error: iOSGround.playground:19:11: error: type of expression is ambiguous without more context g(.init(3)!)