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

Side by Side Diff: pkg/front_end/lib/src/fasta/fasta.dart

Issue 2838983002: Fix a pair of issues in the Dart code for the front end. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/kernel/lib/binary/ast_to_binary.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fasta; 5 library fasta;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'dart:convert' show JSON; 9 import 'dart:convert' show JSON;
10 10
11 import 'dart:io' show BytesBuilder, Directory, File, exitCode; 11 import 'dart:io' show BytesBuilder, Directory, File, exitCode;
12 12
13 import 'package:kernel/binary/ast_to_binary.dart' 13 import 'package:kernel/binary/ast_to_binary.dart'
14 show LibraryFilteringBinaryPrinter; 14 show LibraryFilteringBinaryPrinter;
15 15
16 import 'package:kernel/kernel.dart' show Program; 16 import 'package:kernel/kernel.dart' show Program, Library;
17 17
18 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; 18 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget;
19 19
20 import 'compiler_command_line.dart' show CompilerCommandLine; 20 import 'compiler_command_line.dart' show CompilerCommandLine;
21 21
22 import 'compiler_context.dart' show CompilerContext; 22 import 'compiler_context.dart' show CompilerContext;
23 23
24 import 'errors.dart' show InputError, formatUnexpected, inputError, reportCrash; 24 import 'errors.dart' show InputError, formatUnexpected, inputError, reportCrash;
25 25
26 import 'kernel/kernel_target.dart' show KernelTarget; 26 import 'kernel/kernel_target.dart' show KernelTarget;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 final BytesBuilder builder = new BytesBuilder(); 263 final BytesBuilder builder = new BytesBuilder();
264 264
265 void add(List<int> data) { 265 void add(List<int> data) {
266 builder.add(data); 266 builder.add(data);
267 } 267 }
268 268
269 void close() { 269 void close() {
270 // Nothing to do. 270 // Nothing to do.
271 } 271 }
272 } 272 }
OLDNEW
« no previous file with comments | « no previous file | pkg/kernel/lib/binary/ast_to_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698