58416605e2
Helper methods for locations in constructors (`super` not available) were missing type information for the tearoff. This replaces the use of a helper that would itself would be torn off. Added a new form of helper method that performs the tearoff and binds the type. NOTE: Generic type arguments are still applied outside of the helper. Change-Id: I8dafe0d8357ecc9e1d070046a82e9e83e1a16ed9 Fixes: https://github.com/dart-lang/sdk/issues/47175 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212861 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>