mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:17:55 +00:00
af24f1d61a
Add a more specific, but for general use, diagnostic for when the evaluator encounters a type parameter. The errors should match more closely to the CFE errors now. This CL also tidies up some other areas like `_evaluatePropertyAccess` and produces a better error than `INVALID_CONSTANT` when you try to access something that's not String.length. Change-Id: I4780e6e52049887a0ee44cdf046968f332527079 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322364 Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> |
||
---|---|---|
.. | ||
cyclic_test.dart | ||
lib.dart | ||
metadata_builtin_test.dart | ||
metadata_test.dart | ||
scope1_test.dart | ||
scope2_test.dart | ||
self_test.dart | ||
type_parameter_scope_inner_test.dart | ||
type_parameter_scope_other_test.dart |