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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_target.dart

Issue 2788913002: Prepare for separate setter scope. (Closed)
Patch Set: Address comments. 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/dill/dill_target.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_target.dart b/pkg/front_end/lib/src/fasta/dill/dill_target.dart
index 70629fb1b1786e8067350bad517c74ed03ae5aae..4e53c689b4a8f9b47f3d53314330587d58b78401 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_target.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_target.dart
@@ -18,7 +18,7 @@ import '../ticker.dart' show Ticker;
import '../translate_uri.dart' show TranslateUri;
-import '../kernel/kernel_builder.dart' show ClassBuilder, KernelClassBuilder;
+import '../kernel/kernel_builder.dart' show ClassBuilder;
import 'dill_library_builder.dart' show DillLibraryBuilder;
@@ -67,8 +67,5 @@ class DillTarget extends TargetImplementation {
void breakCycle(ClassBuilder cls) {}
- Class get objectClass {
- KernelClassBuilder builder = loader.coreLibrary.exports["Object"];
- return builder.cls;
- }
+ Class get objectClass => loader.coreLibrary["Object"].target;
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698