48dd9da323
This requires adding `isConst` to the ConstructorReference AST node, which I think is appropriate, as it they can be in a constant context, and we choose to report errors based on this state. Change-Id: I4649c73a8bb3c2651a0e28838f0fc82574ce1622 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212603 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>