Files
sdk/pkg/dev_compiler/test/codegen/expect/html_input.html
T
John Messerly 6c3cdd707d fixes #40, extension methods for primitive types
fixes #138, extension methods for Iterable/List injected as needed, regardless of how the methods started

fixes #142, extension methods and dynamic dispatch

small change that fixes #139, recognize that '.length' doesn't need an extension method

Also restores JSArray, moved the methods out of List, which is back to just being an interface.

NOTE: this removes the capability of types that mix native JS members and some Dart extension members, instead it now *hides* all JS members for these native types. We'll want to bring that feature back to support dart:html, so it's just a simplification for now. Should be easy to add that capability when we pull in dart:html for reals.

R=leafp@google.com, vsm@google.com

Review URL: https://codereview.chromium.org/1153003003
2015-06-04 14:58:18 -07:00

29 lines
1.5 KiB
HTML

<html><head></head><body>
<script src="dev_compiler/runtime/harmony_feature_check.js"></script>
<script src="dev_compiler/runtime/dart_runtime.js"></script>
<script src="dev_compiler/runtime/dart/core.js"></script>
<script src="dev_compiler/runtime/dart/collection.js"></script>
<script src="dev_compiler/runtime/dart/_internal.js"></script>
<script src="dev_compiler/runtime/dart/math.js"></script>
<script src="dev_compiler/runtime/dart/async.js"></script>
<script src="dev_compiler/runtime/dart/_foreign_helper.js"></script>
<script src="dev_compiler/runtime/dart/_js_embedded_names.js"></script>
<script src="dev_compiler/runtime/dart/_js_names.js"></script>
<script src="dev_compiler/runtime/dart/_js_helper.js"></script>
<script src="dev_compiler/runtime/dart/isolate.js"></script>
<script src="dev_compiler/runtime/dart/typed_data.js"></script>
<script src="dev_compiler/runtime/dart/_isolate_helper.js"></script>
<script src="dev_compiler/runtime/dart/_js_primitives.js"></script>
<script src="dev_compiler/runtime/dart/_interceptors.js"></script>
<script src="dev_compiler/runtime/dart/convert.js"></script>
<script src="dev_compiler/runtime/dart/_native_typed_data.js"></script>
<script src="dir/html_input_d.js"></script>
<script src="dir/html_input_b.js"></script>
<script src="dir/html_input_e.js"></script>
<script src="dir/html_input_c.js"></script>
<script src="dir/html_input_a.js"></script>
<script>_isolate_helper.startRootIsolate(html_input_a.main, []);</script>
</body></html>