ed24226376
First step towards deferred library support: - Parse the “deferred as” import clause. - Implement p.loadLibrary() which returns a future that completes when the library is loaded. - Treat type annotations of deferred types as malformed. - Throw NoSuchMethodError when calling functions from unloaded libraries. - Libraries are still read synchronously, but items in the library won’t be visible through the deferred prefix until the future returned by loadLibrary() completes. Review URL: https://codereview.chromium.org//208323015 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34481 260f80e4-7a28-3924-810f-c04153c831b5
60 lines
1.4 KiB
Python
60 lines
1.4 KiB
Python
# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
# Sources visible via default library.
|
|
|
|
{
|
|
'sources': [
|
|
'core_patch.dart',
|
|
# The above file needs to be first as it imports required libraries.
|
|
'bool.cc',
|
|
'bool_patch.dart',
|
|
'date.cc',
|
|
'date_patch.dart',
|
|
'array.cc',
|
|
'array.dart',
|
|
'array_patch.dart',
|
|
'double.cc',
|
|
'double.dart',
|
|
'double_patch.dart',
|
|
'errors.cc',
|
|
'errors_patch.dart',
|
|
'expando_patch.dart',
|
|
'function.cc',
|
|
'function.dart',
|
|
'function_patch.dart',
|
|
'growable_array.cc',
|
|
'growable_array.dart',
|
|
'identical.cc',
|
|
'identical_patch.dart',
|
|
'immutable_map.dart',
|
|
'integers.cc',
|
|
'integers.dart',
|
|
'integers_patch.dart',
|
|
'invocation_mirror.h',
|
|
'invocation_mirror_patch.dart',
|
|
'lib_prefix.dart',
|
|
'map_patch.dart',
|
|
'null_patch.dart',
|
|
'object.cc',
|
|
'object_patch.dart',
|
|
'regexp.cc',
|
|
'regexp_jsc.cc',
|
|
'regexp_jsc.h',
|
|
'regexp_patch.dart',
|
|
'stacktrace.cc',
|
|
'stacktrace_patch.dart',
|
|
'stopwatch_patch.dart',
|
|
'stopwatch.cc',
|
|
'string.cc',
|
|
'string_patch.dart',
|
|
'string_buffer_patch.dart',
|
|
'type_patch.dart',
|
|
'uri.cc',
|
|
'uri_patch.dart',
|
|
'weak_property.dart',
|
|
'weak_property.cc',
|
|
],
|
|
}
|