commit | 011777d64df8fc665050ceb309933a4766c11253 | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Sat Aug 08 13:36:52 2020 +0000 |
committer | dart-luci-ci-builder <dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com> | Sat Aug 08 06:38:33 2020 -0700 |
tree | 86ec6bc3ae71769fbad84e0ebc3479e48d8897e6 | |
parent | 7c399751285f9d4ce5d07507f1e56f3004c39443 [diff] |
Abstract field support: do not allow initializing abstract fields. There are three ways to initialize a field, so we have to check for three error conditions: - At the declaration site - Via a field formal parameter - Via a constructor initializer Fixes #42981 Change-Id: Ifc32a28ffb62d60fd2171d4980e88da9eebcb481 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157664 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com> https://dart.googlesource.com/sdk/+/92315c4b2dc24c13ce681a34992477991dafce48