5aa25f039c
This ensures canParse() methods correctly handle literal types from the LSP spec instead of allowing any literal of the same type to pass. Change-Id: I4876f4adc8de1d9138e0f62868aa6a8a010b9102 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162753 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Danny Tuppeny <danny@tuppeny.com>