88be7d1cae
Unlike other final fields, late final fields without initializers have a corresponding implicit setter. Previously, front-end was setting Field.hasImplicitSetter to false for late final fields. As a result, ClassHierarchy.getDispatchTarget was not returning such field as a dispatch target for a setter invocation and TFA was inferring incorrect types for late final fields (as if all setters for late final fields disappeared). Change-Id: I8f55f7ec8afa38e8cc3f54f85bd66c0381ae6318 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/137701 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Auto-Submit: Alexander Markov <alexmarkov@google.com>