b65a18f54f
These behaviors were introduced during the fix for https://github.com/dart-lang/language/issues/1785, and at the time they were tested using both unit tests and language tests. But it was not possible to write ID tests for them, because ID tests don't support turning on experimental language feature flags. Now that the "constructor-tearoffs" feature has been turned on we can test these behaviors using ID tests. Change-Id: I6e1ccda4b5837ab61de80f15d2f31a82a90b4a22 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212265 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>