795c0b1b64
Since JavaScript constructor functions are not valid Dart functions, they should not be expected to have a Function type. For context see: https://github.com/dart-lang/sdk/issues/41259 Change-Id: I9092700ad60712f604cec7e5cf0189b23024839a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142321 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>