Go to file
Stephen Adams 36f52dd43f Avoid modifying the set returned by getInterceptorsOn()
The returned set is shared.

This program generates a broken short-circuit interceptor ($n -> $din) due to modifying the cached shared set {n} to {d,i,n}
--------
J.toInt$0$n = function(receiver) {
  return J.getInterceptor$din(receiver).toInt$0(receiver);
};
--------
import 'package:expect/expect.dart';

@NoInline()
@AssumeDynamic()
confuse(x) => x;

@NoInline()
foo(x) {
  print(x.toInt());
  bar(x);
}

@NoInline()
bar(x) {
  print(x.toInt());
  print(x.runtimeType);
}

main() {
  int i = confuse(1);
  foo(i);
  double d = confuse(2.3);
  foo(d);
}
--------

TBR=sigmund@google.com

Review URL: https://codereview.chromium.org/2215133003 .
2016-08-05 16:13:03 -07:00
build Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
client Switch over testing pub seperately from the the normal packages 2015-06-09 08:12:51 +02:00
docs/language Add trailing commas to argument and parameter lists. 2016-07-06 15:17:46 +02:00
pkg Avoid modifying the set returned by getInterceptorsOn() 2016-08-05 16:13:03 -07:00
runtime Add missing files to sources list 2016-08-05 14:19:04 -07:00
samples Delete dart_backend from compiler. 2016-08-04 15:57:04 -07:00
samples-dev Untested hacks to swarm to avoid warnings. 2016-07-26 15:24:36 -07:00
sdk Add example int doc for Iterable.expand 2016-08-05 10:34:38 -07:00
site/try Preserve the original semantics in the poi tests. 2016-05-26 12:41:33 -07:00
tests Updated to reverted WebKit CL and updated status files to only skip the failing tests. 2016-08-05 13:17:00 -07:00
third_party Roll BoringSSL Forward 2016-08-05 09:56:03 -07:00
tools Change default Windows compiler to MSVS 2015 (VS version 14.0) 2016-08-06 00:12:56 +02:00
utils fix all instances of "the the" 2016-05-13 12:38:25 -07:00
.gitattributes - Fix git files. 2015-09-14 16:27:51 -07:00
.gitignore Add //base and //buildtools to DEPS 2016-06-22 10:32:51 -07:00
.mailmap Add .mailmap file. 2015-05-18 19:33:16 +02:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
CHANGELOG.md Update changelog for BoringSSL roll 2016-08-05 11:03:06 -07:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
create_sdk.gyp Delete dart_backend from compiler. 2016-08-04 15:57:04 -07:00
dart.gyp Remove fuchsia_test from gyp build 2016-07-21 08:48:18 -07:00
DEPS Roll BoringSSL Forward 2016-08-05 09:56:03 -07:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS Move LICENSE, AUTHORS, PATENTS into the dart directory. 2014-02-10 06:48:47 +00:00
PRESUBMIT.py Remove presubmit suppression. 2013-08-21 11:02:39 +00:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md Links to how to get the source and build it. 2015-08-05 08:05:07 -07:00
WATCHLISTS Remove tools directory from WATCHLISTS 2016-02-16 14:30:06 +01:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

Learn how to get the source and prepare your machine to build the SDK.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License

See LICENSE.