forked from google/xls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PrettyPrint enum values as enum values, rather than merely their bit …
…patterns. Before: 0020: let _ = assert_eq(EnumType::FIRST, EnumType::SECOND); ~~~~~~~~~~~~~~~~~~~~~~~^---------------------------------^ FailureError: The program being interpreted failed! lhs: u1:0 rhs: u1:1 were not equal After: 0020: let _ = assert_eq(EnumType::FIRST, EnumType::SECOND); ~~~~~~~~~~~~~~~~~~~~~~~^---------------------------------^ FailureError: The program being interpreted failed! lhs: EnumType::FIRST (u1:0) rhs: EnumType::SECOND (u1:1) were not equal fixes google#86. (The titular "signed numbers" portion of the git issue seems to have already been solved for a while.) PiperOrigin-RevId: 541067811
- Loading branch information
1 parent
2f830b6
commit 93581dc
Showing
3 changed files
with
37 additions
and
1 deletion.
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