Chromium Code Reviews
DescriptionRemove special list behavior in analysis server protocol.
Previously, for optional lists, the absence of a list was treated by
the toJson and fromJson methods as equivalent to the presence of an
empty list. This disagreed with the API documentation in several
places and created the risk of null reference exceptions in clients.
This change makes optional lists behave just like optional fields of
any other type.
BUG=dartbug.com/21230
R=brianwilkerson@google.com
Committed: https://code.google.com/p/dart/source/detail?r=40939
Patch Set 1 #Messages
Total messages: 4 (1 generated)
|