This repository was archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
allow is and as checks on generic parameters #236
Labels
Comments
given class SomeType<T> {
bool test(x) => x is T;
}
main() => new SomeType<List<int>>().test(<Object>[123]); options:
Based on previous discussions, I think we're leaning towards (3). |
We won't be able to run a lot of tests until we can support this, so kind of high priority |
We need to resolve this to nail down our checking rules as well. I think (3) is probably the best option here. We should perhaps still generate an "info" in this case. |
tagging Angular ... while it might not affect runtime, it'll block all tests, which would make developing an Angular app hard :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think we need to come up with something here. For example:
http://www.dartdocs.org/documentation/matcher/0.12.0%2B1/index.html#matcher/matcher
see discussion around here
#103 (comment)
The text was updated successfully, but these errors were encountered: