From 72747f620596f7e23cc05fce8f125fc02e6c0562 Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Thu, 28 Jun 2018 18:21:27 +0000 Subject: [PATCH] [build] Remove absolute paths from object files and vm_platform.dill. The only remaining absolute paths in the VM binary are from kernel_service.dill. Bug: https://github.com/dart-lang/sdk/issues/31427 Change-Id: Ie002e0f6e64c289dab475ca60b240c13f8316ae6 Reviewed-on: https://dart-review.googlesource.com/62728 Commit-Queue: Ryan Macnak Reviewed-by: Zach Anderson Reviewed-by: Sigmund Cherem --- build/config/BUILDCONFIG.gn | 5 ++- build/config/gcc/BUILD.gn | 33 +++++++++++++++++++ .../inference/future_then.dart.direct.expect | 8 ++--- ...future_then.dart.direct.transformed.expect | 8 ++--- .../inference/future_then.dart.outline.expect | 8 ++--- .../inference/future_then.dart.strong.expect | 8 ++--- ...future_then.dart.strong.transformed.expect | 8 ++--- .../future_then_2.dart.direct.expect | 8 ++--- ...ture_then_2.dart.direct.transformed.expect | 8 ++--- .../future_then_2.dart.outline.expect | 8 ++--- .../future_then_2.dart.strong.expect | 8 ++--- ...ture_then_2.dart.strong.transformed.expect | 8 ++--- .../future_then_3.dart.direct.expect | 8 ++--- ...ture_then_3.dart.direct.transformed.expect | 8 ++--- .../future_then_3.dart.outline.expect | 8 ++--- .../future_then_3.dart.strong.expect | 8 ++--- ...ture_then_3.dart.strong.transformed.expect | 8 ++--- .../future_then_4.dart.direct.expect | 8 ++--- ...ture_then_4.dart.direct.transformed.expect | 8 ++--- .../future_then_4.dart.outline.expect | 8 ++--- .../future_then_4.dart.strong.expect | 8 ++--- ...ture_then_4.dart.strong.transformed.expect | 8 ++--- .../future_then_5.dart.direct.expect | 8 ++--- ...ture_then_5.dart.direct.transformed.expect | 8 ++--- .../future_then_5.dart.outline.expect | 8 ++--- .../future_then_5.dart.strong.expect | 8 ++--- ...ture_then_5.dart.strong.transformed.expect | 8 ++--- .../future_then_6.dart.direct.expect | 8 ++--- ...ture_then_6.dart.direct.transformed.expect | 8 ++--- .../future_then_6.dart.outline.expect | 8 ++--- .../future_then_6.dart.strong.expect | 8 ++--- ...ture_then_6.dart.strong.transformed.expect | 8 ++--- ...future_then_conditional.dart.direct.expect | 8 ++--- ...conditional.dart.direct.transformed.expect | 8 ++--- ...uture_then_conditional.dart.outline.expect | 8 ++--- ...future_then_conditional.dart.strong.expect | 8 ++--- ...conditional.dart.strong.transformed.expect | 8 ++--- ...ture_then_conditional_2.dart.direct.expect | 8 ++--- ...nditional_2.dart.direct.transformed.expect | 8 ++--- ...ure_then_conditional_2.dart.outline.expect | 8 ++--- ...ture_then_conditional_2.dart.strong.expect | 8 ++--- ...nditional_2.dart.strong.transformed.expect | 8 ++--- ...ture_then_conditional_3.dart.direct.expect | 8 ++--- ...nditional_3.dart.direct.transformed.expect | 8 ++--- ...ure_then_conditional_3.dart.outline.expect | 8 ++--- ...ture_then_conditional_3.dart.strong.expect | 8 ++--- ...nditional_3.dart.strong.transformed.expect | 8 ++--- ...ture_then_conditional_4.dart.direct.expect | 8 ++--- ...nditional_4.dart.direct.transformed.expect | 8 ++--- ...ure_then_conditional_4.dart.outline.expect | 8 ++--- ...ture_then_conditional_4.dart.strong.expect | 8 ++--- ...nditional_4.dart.strong.transformed.expect | 8 ++--- ...ture_then_conditional_5.dart.direct.expect | 8 ++--- ...nditional_5.dart.direct.transformed.expect | 8 ++--- ...ure_then_conditional_5.dart.outline.expect | 8 ++--- ...ture_then_conditional_5.dart.strong.expect | 8 ++--- ...nditional_5.dart.strong.transformed.expect | 8 ++--- ...ture_then_conditional_6.dart.direct.expect | 8 ++--- ...nditional_6.dart.direct.transformed.expect | 8 ++--- ...ure_then_conditional_6.dart.outline.expect | 8 ++--- ...ture_then_conditional_6.dart.strong.expect | 8 ++--- ...nditional_6.dart.strong.transformed.expect | 8 ++--- .../future_then_ifNull.dart.direct.expect | 8 ++--- ...then_ifNull.dart.direct.transformed.expect | 8 ++--- .../future_then_ifNull.dart.outline.expect | 8 ++--- .../future_then_ifNull.dart.strong.expect | 8 ++--- ...then_ifNull.dart.strong.transformed.expect | 8 ++--- .../future_then_upwards.dart.direct.expect | 8 ++--- ...hen_upwards.dart.direct.transformed.expect | 8 ++--- .../future_then_upwards.dart.outline.expect | 8 ++--- .../future_then_upwards.dart.strong.expect | 8 ++--- ...hen_upwards.dart.strong.transformed.expect | 8 ++--- .../future_then_upwards_2.dart.direct.expect | 8 ++--- ...n_upwards_2.dart.direct.transformed.expect | 8 ++--- .../future_then_upwards_2.dart.outline.expect | 8 ++--- .../future_then_upwards_2.dart.strong.expect | 8 ++--- ...n_upwards_2.dart.strong.transformed.expect | 8 ++--- .../future_then_upwards_3.dart.direct.expect | 8 ++--- ...n_upwards_3.dart.direct.transformed.expect | 8 ++--- .../future_then_upwards_3.dart.outline.expect | 8 ++--- .../future_then_upwards_3.dart.strong.expect | 8 ++--- ...n_upwards_3.dart.strong.transformed.expect | 8 ++--- ...union_async_conditional.dart.direct.expect | 8 ++--- ...conditional.dart.direct.transformed.expect | 8 ++--- ...nion_async_conditional.dart.outline.expect | 8 ++--- ...union_async_conditional.dart.strong.expect | 8 ++--- ...conditional.dart.strong.transformed.expect | 8 ++--- ...ion_async_conditional_2.dart.direct.expect | 8 ++--- ...nditional_2.dart.direct.transformed.expect | 8 ++--- ...on_async_conditional_2.dart.outline.expect | 8 ++--- ...ion_async_conditional_2.dart.strong.expect | 8 ++--- ...nditional_2.dart.strong.transformed.expect | 8 ++--- .../future_union_downwards.dart.direct.expect | 8 ++--- ...n_downwards.dart.direct.transformed.expect | 8 ++--- ...future_union_downwards.dart.outline.expect | 8 ++--- .../future_union_downwards.dart.strong.expect | 8 ++--- ...n_downwards.dart.strong.transformed.expect | 8 ++--- ...uture_union_downwards_2.dart.direct.expect | 8 ++--- ...downwards_2.dart.direct.transformed.expect | 8 ++--- ...ture_union_downwards_2.dart.outline.expect | 8 ++--- ...uture_union_downwards_2.dart.strong.expect | 8 ++--- ...downwards_2.dart.strong.transformed.expect | 8 ++--- ...uture_union_downwards_3.dart.direct.expect | 8 ++--- ...downwards_3.dart.direct.transformed.expect | 8 ++--- ...ture_union_downwards_3.dart.outline.expect | 8 ++--- ...uture_union_downwards_3.dart.strong.expect | 8 ++--- ...downwards_3.dart.strong.transformed.expect | 8 ++--- ...uture_union_downwards_4.dart.direct.expect | 8 ++--- ...downwards_4.dart.direct.transformed.expect | 8 ++--- ...ture_union_downwards_4.dart.outline.expect | 8 ++--- ...uture_union_downwards_4.dart.strong.expect | 8 ++--- ...downwards_4.dart.strong.transformed.expect | 8 ++--- runtime/vm/BUILD.gn | 8 +++-- 113 files changed, 483 insertions(+), 443 deletions(-) diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index 3ad0c961c26..03349440b38 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -233,7 +233,10 @@ if (is_win) { ] } if (is_posix) { - _native_compiler_configs += [ "//build/config/gcc:no_exceptions" ] + _native_compiler_configs += [ + "//build/config/gcc:no_exceptions", + "//build/config/gcc:relative_paths", + ] if (is_product) { _native_compiler_configs += [ "//build/config/gcc:symbol_visibility_hidden" ] diff --git a/build/config/gcc/BUILD.gn b/build/config/gcc/BUILD.gn index 110f1cceb58..6b941f0e1f4 100644 --- a/build/config/gcc/BUILD.gn +++ b/build/config/gcc/BUILD.gn @@ -45,3 +45,36 @@ config("no_exceptions") { cflags_cc = no_exceptions_flags cflags_objcc = no_exceptions_flags } + +config("relative_paths") { + # Make builds independent of absolute file path. The file names + # embedded in debugging information will be expressed as relative to + # the build directory, e.g. "../.." for an "out/subdir" under //. + # This is consistent with the file names in __FILE__ expansions + # (e.g. in assertion messages), which the compiler doesn't provide a + # way to remap. That way source file names in logging and + # symbolization can all be treated the same way. This won't go well + # if root_build_dir is not a subdirectory //, but there isn't a better + # option to keep all source file name references uniformly relative to + # a single root. + absolute_path = rebase_path("//.") + relative_path = rebase_path("//.", root_build_dir) + cflags = [ + # This makes sure that the DW_AT_comp_dir string (the current + # directory while running the compiler, which is the basis for all + # relative source file names in the DWARF info) is represented as + # relative to //. + "-fdebug-prefix-map=$absolute_path=$relative_path", + + # This makes sure that include directories in the toolchain are + # represented as relative to the build directory (because that's how + # we invoke the compiler), rather than absolute. This can affect + # __FILE__ expansions (e.g. assertions in system headers). We + # normally run a compiler that's someplace within the source tree + # (//buildtools/...), so its absolute installation path will have a + # prefix matching absolute_path and hence be mapped to relative_path + # in the debugging information, so this should actually be + # superfluous for purposes of the debugging information. + "-no-canonical-prefixes", + ] +} diff --git a/pkg/front_end/testcases/inference/future_then.dart.direct.expect b/pkg/front_end/testcases/inference/future_then.dart.direct.expect index 98124f75725..44f06311e81 100644 --- a/pkg/front_end/testcases/inference/future_then.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then.dart.direct.transformed.expect index 39bf7669336..ef17c01b37b 100644 --- a/pkg/front_end/testcases/inference/future_then.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then.dart.outline.expect b/pkg/front_end/testcases/inference/future_then.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then.dart.strong.expect b/pkg/front_end/testcases/inference/future_then.dart.strong.expect index b0f41ccc809..3865b48193d 100644 --- a/pkg/front_end/testcases/inference/future_then.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then.dart.strong.transformed.expect index 7eaed281fd0..5504389c6aa 100644 --- a/pkg/front_end/testcases/inference/future_then.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_2.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_2.dart.direct.expect index 5f0821f4ba0..f756aa674b0 100644 --- a/pkg/front_end/testcases/inference/future_then_2.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_2.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_2.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_2.dart.direct.transformed.expect index 4b7549d6236..7256edac232 100644 --- a/pkg/front_end/testcases/inference/future_then_2.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_2.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_2.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_2.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_2.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_2.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_2.dart.strong.expect index 2c71d0bb674..e596eb754e5 100644 --- a/pkg/front_end/testcases/inference/future_then_2.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_2.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_2.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_2.dart.strong.transformed.expect index 90bcbbb06d9..78e56f06e3b 100644 --- a/pkg/front_end/testcases/inference/future_then_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_2.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_3.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_3.dart.direct.expect index aea52b3c247..3055eebd72a 100644 --- a/pkg/front_end/testcases/inference/future_then_3.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_3.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_3.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_3.dart.direct.transformed.expect index 7c896067105..793f5c1b52a 100644 --- a/pkg/front_end/testcases/inference/future_then_3.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_3.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_3.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_3.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_3.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_3.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_3.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_3.dart.strong.expect index 14bbd85886f..8ccd2b20225 100644 --- a/pkg/front_end/testcases/inference/future_then_3.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_3.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_3.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_3.dart.strong.transformed.expect index ca483a5b7ea..4a7fbeb569c 100644 --- a/pkg/front_end/testcases/inference/future_then_3.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_3.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_4.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_4.dart.direct.expect index 7260212e0ba..ea9288e43eb 100644 --- a/pkg/front_end/testcases/inference/future_then_4.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_4.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_4.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_4.dart.direct.transformed.expect index 746d72c3053..885667a57db 100644 --- a/pkg/front_end/testcases/inference/future_then_4.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_4.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_4.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_4.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_4.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_4.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_4.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_4.dart.strong.expect index 79ba4a34ce1..51169ac70af 100644 --- a/pkg/front_end/testcases/inference/future_then_4.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_4.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_4.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_4.dart.strong.transformed.expect index 21ecf5e0045..16b410c264e 100644 --- a/pkg/front_end/testcases/inference/future_then_4.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_4.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_5.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_5.dart.direct.expect index c2e1984dec5..c36c9cbf0eb 100644 --- a/pkg/front_end/testcases/inference/future_then_5.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_5.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_5.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_5.dart.direct.transformed.expect index f996ff92c50..df4ec246dd7 100644 --- a/pkg/front_end/testcases/inference/future_then_5.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_5.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_5.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_5.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_5.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_5.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_5.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_5.dart.strong.expect index 4a8eee5f113..4da5a6e8f4c 100644 --- a/pkg/front_end/testcases/inference/future_then_5.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_5.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_5.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_5.dart.strong.transformed.expect index b19d08062d2..f3a5c5ce514 100644 --- a/pkg/front_end/testcases/inference/future_then_5.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_5.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_6.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_6.dart.direct.expect index c74cdc3e808..5bf638a2ef7 100644 --- a/pkg/front_end/testcases/inference/future_then_6.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_6.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_6.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_6.dart.direct.transformed.expect index dda0a4f8450..69742d4bbf9 100644 --- a/pkg/front_end/testcases/inference/future_then_6.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_6.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_6.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_6.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_6.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_6.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_6.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_6.dart.strong.expect index 98b7e61762d..51ead0d596e 100644 --- a/pkg/front_end/testcases/inference/future_then_6.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_6.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_6.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_6.dart.strong.transformed.expect index 8214748613a..c006470f85e 100644 --- a/pkg/front_end/testcases/inference/future_then_6.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_6.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.expect index c81cc0bdb9f..acb49727d3d 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.transformed.expect index ee8635c6602..f0c2f69e2e4 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.expect index cd172d7e63f..00aa8c33b30 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.transformed.expect index 4edac725fd2..c3eba54f8ed 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.expect index 63e39eb2acc..183c86378b8 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.transformed.expect index 0d47534805c..6205132700d 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.expect index 58fc7dce399..dc09b6ed0a6 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.transformed.expect index f44cce1cb22..11cd952323d 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_2.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.expect index 4d5d177cec0..a07382c5b27 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.transformed.expect index 1373697cf8d..01733a2d276 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.expect index 60b455d77f5..ee7191780b8 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.transformed.expect index 15d1ad26fdc..d0cc457be6e 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_3.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.expect index 0e1c731e729..7e6446134ad 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.transformed.expect index f91e051619f..a9ab995b114 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.expect index 9207e2cbe7f..2a51cccf005 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.transformed.expect index ea24809c4fa..6543e7d8dc4 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.expect index 5efa1a5533a..c6a744db6f5 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.transformed.expect index 21cf31217df..a258478f3f2 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.expect index 4375997e54b..e9f502a939d 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.transformed.expect index e2587841e95..13b2717bea8 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_5.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.expect index 66fd5b35e39..061545980fe 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.transformed.expect index 1a49a72e1e1..c924e4e91d4 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.expect index af3fa30ec22..4a1b6d53ca3 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.transformed.expect index a172c81c1b0..513dd48fee7 100644 --- a/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_conditional_6.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.expect index 5d21b4b7a38..86006fe8d98 100644 --- a/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.transformed.expect index e67586a3365..c5fee0a1624 100644 --- a/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_ifNull.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_ifNull.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_ifNull.dart.outline.expect index 638eb195d34..b0fa0d6f2fb 100644 --- a/pkg/front_end/testcases/inference/future_then_ifNull.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_ifNull.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.expect index 1eddb4aabf7..7b7ff7329d9 100644 --- a/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.transformed.expect index 871bcf6cf56..bc999314a15 100644 --- a/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_ifNull.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.expect index 4d6cabd7efe..408a87b9c6b 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.transformed.expect index 4d6cabd7efe..408a87b9c6b 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_upwards.dart.outline.expect index c63fbb8fc7e..2b9a12e6b8e 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void diff --git a/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.expect index f7bfb3c285a..8c134432023 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.transformed.expect index 4a8c0377f37..cb35f21714b 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.expect index dcb5ae3e07a..6d6d09043e2 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.transformed.expect index dcb5ae3e07a..6d6d09043e2 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.outline.expect index c63fbb8fc7e..2b9a12e6b8e 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void diff --git a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.expect index cb171bfd2ce..598386973ef 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.transformed.expect index b432115dbbf..9f065176288 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_2.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method main() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.expect index 994012f5a68..fab1bd13411 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.transformed.expect index 994012f5a68..fab1bd13411 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.outline.expect b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.outline.expect index cfcba8d745f..b3699310e95 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void diff --git a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.expect b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.expect index deb54c12874..a6d1069362d 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.transformed.expect index 94a7c5e1453..dbc1f649ef0 100644 --- a/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_then_upwards_3.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method test() → void { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.expect index 81cd117b3c4..73eda8492c9 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future async { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.transformed.expect index 41c48797e3f..b8fd1d12ed2 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future /* originally async */ { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.outline.expect index d6eb3cf8ead..67eb302380d 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect index 360051fa4ef..9c411e005f2 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future async { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.transformed.expect index c5b890a2ff5..4bea18c5f7b 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future /* originally async */ { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.expect index 696d941db54..58133414b79 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future async { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.transformed.expect index 4d30bd8e443..39148eaaf03 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future /* originally async */ { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.outline.expect index d6eb3cf8ead..67eb302380d 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect index 27f64bd4fb1..009b8063a32 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future async { diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.transformed.expect index 3e881c5dc78..59fe88cab05 100644 --- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static method g1(core::bool x) → asy::Future /* originally async */ { diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.expect index eb9e27586ce..06bf63e6a59 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.transformed.expect index 9c55b25c5ba..bf15bb913af 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_downwards.dart.outline.expect index 8fbf742e1db..e0c10eeeb9d 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.expect index be2d94472c8..908b887e8ec 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.transformed.expect index f8b69c03b05..a7f0970d2b6 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.expect index 88065daf459..df02c931e7d 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.transformed.expect index 8311768f3a3..da3e7e81785 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.outline.expect index 8fbf742e1db..e0c10eeeb9d 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.expect index bf7763de31a..f004a8ccce1 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.transformed.expect index c6eeddae9aa..728229710a1 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_2.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field self::MyFuture f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.expect index 55b480f8440..02133a2e5fa 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.transformed.expect index d310fa8e5ae..03dfd29f6db 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.outline.expect index 08527e88d8f..46b69247f6b 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.expect index 15b6f24b268..4c8b6d06ccc 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.transformed.expect index 3d87abf0b7e..1cab9ad6f70 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.expect index 5ec4bddc235..4959b528a0b 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.transformed.expect index 5b25967e872..18eea457abf 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.direct.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.outline.expect b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.outline.expect index 08527e88d8f..46b69247f6b 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.outline.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.outline.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements ; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError}) → self::MyFuture ; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {() → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.expect index d06ad27525c..79238fb8f46 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.transformed.expect b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.transformed.expect index 39403ea407b..7807c617cdd 100644 --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart.strong.transformed.expect @@ -12,13 +12,13 @@ class MyFuture extends core::Object implements return null; method then((self::MyFuture::T) → asy::FutureOr f, {core::Function onError = null}) → self::MyFuture return null; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ catchError(core::Function onError, {(core::Object) → core::bool test = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("catchError", const [], core::List::unmodifiable([onError]), core::Map::unmodifiable({#test: test}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ whenComplete(() → asy::FutureOr action) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("whenComplete", const [], core::List::unmodifiable([action]), core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ timeout(core::Duration timeLimit, {generic-covariant-impl () → asy::FutureOr onTimeout = null}) → asy::Future return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("timeout", const [], core::List::unmodifiable([timeLimit]), core::Map::unmodifiable({#onTimeout: onTimeout}), false)) as{TypeError} asy::Future; - no-such-method-forwarder method /* from org-dartlang-testcase-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream + no-such-method-forwarder method /* from org-dartlang-sdk:///sdk/lib/async/future.dart */ asStream() → asy::Stream return this.{self::MyFuture::noSuchMethod}(new core::_InvocationMirror::_withoutType("asStream", const [], const [], core::Map::unmodifiable(const {}), false)) as{TypeError} asy::Stream; } static field asy::Future f; diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn index 33bd09de463..bfade78f75b 100644 --- a/runtime/vm/BUILD.gn +++ b/runtime/vm/BUILD.gn @@ -304,7 +304,9 @@ generate_core_libraries("core_libraries") { } compile_platform("vm_legacy_platform") { - libraries_specification_uri = "../../sdk/lib/libraries.json" + single_root_scheme = "org-dartlang-sdk" + single_root_base = "../../" + libraries_specification_uri = "org-dartlang-sdk:///sdk/lib/libraries.json" outputs = [ "$root_out_dir/vm_platform.dill", @@ -317,7 +319,9 @@ compile_platform("vm_legacy_platform") { compile_platform("vm_platform") { add_implicit_vm_platform_dependency = false - libraries_specification_uri = "../../sdk/lib/libraries.json" + single_root_scheme = "org-dartlang-sdk" + single_root_base = "../../" + libraries_specification_uri = "org-dartlang-sdk:///sdk/lib/libraries.json" outputs = [ "$root_out_dir/vm_platform_strong.dill",