Commit 11de5e01 authored by Kenton Varda's avatar Kenton Varda

Fix problem in evolution-test.

parent 75de6af7
...@@ -167,7 +167,7 @@ static ChangeInfo declChangeName(Declaration::Builder decl, uint& nextOrdinal, ...@@ -167,7 +167,7 @@ static ChangeInfo declChangeName(Declaration::Builder decl, uint& nextOrdinal,
auto name = decl.getName(); auto name = decl.getName();
if (name.getValue().size() == 0) { if (name.getValue().size() == 0) {
// Naming an unnamed union. // Naming an unnamed union.
name.setValue("unUnnamed"); name.setValue(kj::str("unUnnamed", nextOrdinal));
return { SUBTLY_COMPATIBLE, "Assign name to unnamed union." }; return { SUBTLY_COMPATIBLE, "Assign name to unnamed union." };
} else { } else {
name.setValue(kj::str(name.getValue(), "Xx")); name.setValue(kj::str(name.getValue(), "Xx"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment