| 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;
|
| -}
|
| +}
|
|
|