Fix error message

This commit is contained in:
Andrew Johnson
2017-01-05 14:09:03 -06:00
parent 7ec6be5d14
commit 4a0fd0b954

View File

@@ -106,7 +106,7 @@ sub equals {
my ($new, $known) = @_;
return 0 if ! $known->fields;
return 1 if ! $new->fields;
dieContext("Duplicate definition of record type '$a->{NAME}'");
dieContext("Duplicate definition of record type '$known->{NAME}'");
}
sub toDeclaration {