Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: pkg/analyzer/test/src/summary/top_level_inference_test.dart

Issue 2754423002: Fail inference when an instance field is referenced. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/summary/top_level_inference_test.dart
diff --git a/pkg/analyzer/test/src/summary/top_level_inference_test.dart b/pkg/analyzer/test/src/summary/top_level_inference_test.dart
index fd130726b7bec6916b89ae8e90de15f74acc7fb5..c4aa6ca58021d28b0c019ddce6e3ed2e8ca52623 100644
--- a/pkg/analyzer/test/src/summary/top_level_inference_test.dart
+++ b/pkg/analyzer/test/src/summary/top_level_inference_test.dart
@@ -93,6 +93,7 @@ int vBitShiftRight;
''');
}
+ @failingTest
test_initializer_cascade() async {
var library = await _encodeDecodeLibrary(r'''
class A {
@@ -874,7 +875,6 @@ class B implements A {
* A field with no annotated type that does not override anything has the
* type inferred from its initializer.
*/
- @failingTest
test_instanceField_preferOverride() async {
var library = await _encodeDecodeLibrary(r'''
abstract class A {

Powered by Google App Engine
This is Rietveld 408576698