We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/co19_2/src/LanguageFeatures/Extension-methods/semantics_of_invocations_t04.dart has incorrect expectations
class A<T> {} extension ExtendedA<T> on A<T> { dynamic checkme() => T; dynamic get checkGetter => T; void test(dynamic expected) { Expect.equals(expected, T); } } main() { A a = A(); Expect.equals(A, a.checkme()); Expect.equals(A, a.checkGetter); a.test(A); }
Should probably be written as
Expect.equals(dynamic, a.checkme()); Expect.equals(dynamic, a.checkGetter);
or
A<A> a = A<A>(); Expect.equals(A, a.checkme()); Expect.equals(A, a.checkGetter);
The text was updated successfully, but these errors were encountered:
Issue #485, #488: test expectations corrected.
88c608d
4dbc3a4
iarkh
No branches or pull requests
tests/co19_2/src/LanguageFeatures/Extension-methods/semantics_of_invocations_t04.dart has incorrect expectations
Should probably be written as
or
The text was updated successfully, but these errors were encountered: