DescriptionImplement forwards compatibility for summary enums.
If an attempt is made to read an unrecognized enum value, then rather
than crashing, we will read the default (first) value of the enum type.
This facilitates forwards compatibility by ensuring that if a new enum
value is added in the future, older code will still be able to read the
resulting summary files without crashing.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/ff6a744f38a2fa949c464d8fb9d52b3c7685bb5f
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|