-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove
EnumVariat::name
from DSL v2 (#697)
Since it is no longer needed after enums were simplified in #610. We can just use the referenced item name directly.
- Loading branch information
1 parent
64233cb
commit 7a3c1fb
Showing
7 changed files
with
222 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
crates/codegen/language/tests/src/fail/definitions/duplicate_variant_name/test.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
error: A variant with the name 'Variant1' already exists. | ||
--> src/fail/definitions/duplicate_variant_name/test.rs:19:44 | ||
error: A variant referencing 'Baz1' already exists. | ||
--> src/fail/definitions/duplicate_variant_name/test.rs:19:49 | ||
| | ||
19 | EnumVariant(name = Variant1, reference = Baz) | ||
| ^^^^^^^^ | ||
19 | EnumVariant(reference = Baz1) | ||
| ^^^^ |
Oops, something went wrong.