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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_loader.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 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 fasta.dill_loader; 5 library fasta.dill_loader;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:io' show 10 import 'dart:io' show
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 builder.library.fields.forEach(builder.addMember); 46 builder.library.fields.forEach(builder.addMember);
47 } 47 }
48 48
49 Future<Null> buildBody(DillLibraryBuilder builder, _) { 49 Future<Null> buildBody(DillLibraryBuilder builder, _) {
50 return buildOutline(builder); 50 return buildOutline(builder);
51 } 51 }
52 52
53 void setProgram(Program program) { 53 void setProgram(Program program) {
54 assert(input != null); 54 assert(input != null);
55 this.program = program; 55 this.program = program;
56 program.unbindCanonicalNames();
56 for (Library library in program.libraries) { 57 for (Library library in program.libraries) {
57 read(library.importUri).library = library; 58 read(library.importUri).library = library;
58 } 59 }
59 } 60 }
60 } 61 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/compile_platform.dart ('k') | pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698