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

Unified Diff: pkg/front_end/lib/src/fasta/testing/kernel_chain.dart

Issue 2707263009: Store redirecting constructors. (Closed)
Patch Set: Created 3 years, 10 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/front_end/lib/src/fasta/testing/kernel_chain.dart
diff --git a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
index 4a27a149ecfbe7b68b7abe3226b351f12a7eed86..e5699f6cb16be5d7e742cee39c774e5310cdc509 100644
--- a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
+++ b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
@@ -34,8 +34,8 @@ import 'package:kernel/ast.dart' show
Library,
Program;
-import 'package:kernel/verifier.dart' show
- VerifyingVisitor;
+import '../kernel/verifier.dart' show
+ verifyProgram;
import 'package:kernel/binary/ast_to_binary.dart' show
BinaryPrinter;
@@ -209,7 +209,7 @@ class Verify extends Step<Program, Program, TestContext> {
Future<Result<Program>> run(Program program, TestContext testContext) async {
try {
- program.accept(new VerifyingVisitor()..isOutline = !fullCompile);
+ verifyProgram(program, isOutline: !fullCompile);
return pass(program);
} catch (e, s) {
return new Result<Program>(
« no previous file with comments | « pkg/front_end/lib/src/fasta/outline.dart ('k') | pkg/front_end/test/fasta/redirecting_constructor.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698