970c164826
With this fix Expression.getStaticType no longer throws on any known cases. Users of getStaticType can therefore avoid enclosing static type computation in try-catch. Closes #38597 Change-Id: I52eaacd30256333d7c368e5d14f4e4956bafc96f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121988 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>