8cb7dfa70f
There is no functional change to the analyzer or CFE yet; we simply report the error in the parser listeners now rather than the parser itself. In follow up CLs when we add full support for the feature, we will want to keep the error reporting logic, but only report the errors in pre-NNBD code. Change-Id: Ifd14dd97d7d1d57586a8e14a25103356d54f0ea1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154364 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>