Chromium Code Reviews
DescriptionNew Mojom parser: Fix error message for invalid enum value initailizers.
BUG=#461
- In the case that an EnumValue is being used as an enum value initializer for an Enum of the wrong type, the error message now mentions "used as an initializer" instead of "being assigned to" because an enum value initializer declaration is not really an assignment.
- We now capture the name of the enum vale being assigned to for the sake of the error message.
- We mention the fully-qualified name of the Enum in error messages.
- Found another occurrence of "Error:" that I missed last time.
R=azani@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/de332fca6d3629ae8a595fd0c1a6fb29f9fec67d
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||