lxdrgen-swift: fix warnings with exhaustive unions
This commit is contained in:
@@ -208,7 +208,7 @@ function codegen_union_struct(name, casename, cg, scg, structname) {
|
||||
"\t}\n")
|
||||
}
|
||||
|
||||
function codegen_union(name, cg, tagvar) {
|
||||
function codegen_union(name, cg, exhaustive, tagvar) {
|
||||
tagvar = cg["tagname"]
|
||||
|
||||
print ""
|
||||
|
||||
Reference in New Issue
Block a user