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

Unified Diff: pkg/fletchc/lib/src/fletch_backend.dart

Issue 1413863004: Rename the _fletch_system and service and dart: libraries (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Fixes after self-review Created 5 years, 2 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
« no previous file with comments | « pkg/fletch/lib/_sdkext ('k') | pkg/fletchc/lib/src/fletch_compiler_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/fletch_backend.dart
diff --git a/pkg/fletchc/lib/src/fletch_backend.dart b/pkg/fletchc/lib/src/fletch_backend.dart
index 28a728672691d180c6d6648cf1780585ae649624..d0e166c29a9f472d56eb1d11ce2de5ebc6226a89 100644
--- a/pkg/fletchc/lib/src/fletch_backend.dart
+++ b/pkg/fletchc/lib/src/fletch_backend.dart
@@ -191,7 +191,6 @@ class FletchBackend extends Backend with ResolutionCallbacks
LibraryElement fletchSystemLibrary;
LibraryElement fletchFFILibrary;
- LibraryElement fletchIOSystemLibrary;
LibraryElement collectionLibrary;
LibraryElement mathLibrary;
LibraryElement asyncLibrary;
@@ -1123,7 +1122,7 @@ class FletchBackend extends Backend with ResolutionCallbacks
if (element is FunctionElement) {
for (var metadata in element.metadata) {
// TODO(ahe): This code should ensure that @native resolves to precisely
- // the native variable in fletch:system.
+ // the native variable in dart:fletch._system.
if (metadata.constant == null) continue;
ConstantValue value = context.getConstantValue(metadata.constant);
if (!value.isString) continue;
@@ -1352,12 +1351,10 @@ class FletchBackend extends Backend with ResolutionCallbacks
bool get supportsReflection => false;
Future onLibraryScanned(LibraryElement library, LibraryLoader loader) {
- if (Uri.parse('dart:_fletch_system') == library.canonicalUri) {
+ if (Uri.parse('dart:fletch._system') == library.canonicalUri) {
fletchSystemLibrary = library;
} else if (Uri.parse('dart:fletch.ffi') == library.canonicalUri) {
fletchFFILibrary = library;
- } else if (Uri.parse('dart:system') == library.canonicalUri) {
- fletchIOSystemLibrary = library;
} else if (Uri.parse('dart:collection') == library.canonicalUri) {
collectionLibrary = library;
} else if (Uri.parse('dart:math') == library.canonicalUri) {
@@ -1676,4 +1673,4 @@ Name memberName(AstElement element) {
if (isLocalFunction(element)) return null;
MemberElement member = element;
return member.memberName;
-}
+}
« no previous file with comments | « pkg/fletch/lib/_sdkext ('k') | pkg/fletchc/lib/src/fletch_compiler_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698