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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart

Issue 1937223002: All initializer expressions are serialized, even if not all of them are constants. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.src.summary.resynthesize_ast_test; 5 library analyzer.test.src.summary.resynthesize_ast_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/dart/element/element.dart'; 9 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/src/generated/engine.dart' 10 import 'package:analyzer/src/generated/engine.dart'
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 @override 149 @override
150 @failingTest 150 @failingTest
151 void test_blockBodiedLambdas_syncStar_topLevel() { 151 void test_blockBodiedLambdas_syncStar_topLevel() {
152 super.test_blockBodiedLambdas_syncStar_topLevel(); 152 super.test_blockBodiedLambdas_syncStar_topLevel();
153 } 153 }
154 154
155 @override 155 @override
156 @failingTest 156 @failingTest
157 void test_canInferAlsoFromStaticAndInstanceFieldsFlagOn() {
158 super.test_canInferAlsoFromStaticAndInstanceFieldsFlagOn();
159 }
160
161 @override
162 @failingTest
163 void test_downwardsInferenceAnnotations() { 157 void test_downwardsInferenceAnnotations() {
164 super.test_downwardsInferenceAnnotations(); 158 super.test_downwardsInferenceAnnotations();
165 } 159 }
166 160
167 @override 161 @override
168 @failingTest 162 @failingTest
169 void test_downwardsInferenceAsyncAwait() { 163 void test_downwardsInferenceAsyncAwait() {
170 super.test_downwardsInferenceAsyncAwait(); 164 super.test_downwardsInferenceAsyncAwait();
171 } 165 }
172 166
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 } 793 }
800 794
801 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 795 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
802 LinkedLibraryBuilder linkedLibrary = 796 LinkedLibraryBuilder linkedLibrary =
803 prelink(definingUnit, getPart, getImport); 797 prelink(definingUnit, getPart, getImport);
804 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 798 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
805 _serializeLibrary(resolveRelativeUri(d.uri)); 799 _serializeLibrary(resolveRelativeUri(d.uri));
806 }); 800 });
807 } 801 }
808 } 802 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698