Index: tool/build_sdk.sh |
diff --git a/tool/build_sdk.sh b/tool/build_sdk.sh |
index 62140e217c538d3904457f629e69f323bce97c5a..9e3dde2f09554989d745ef600edfeeb07356b0d2 100755 |
--- a/tool/build_sdk.sh |
+++ b/tool/build_sdk.sh |
@@ -15,8 +15,9 @@ fi |
# TODO(jmesserly): this builds dart:js, which pulls in dart:core and many others |
# transitively. Ideally we could pass them explicitly, though: |
# https://github.com/dart-lang/dev_compiler/issues/219 |
-dart -c bin/devc.dart --no-source-maps --sdk-check --force-compile -l warning \ |
- --dart-sdk tool/generated_sdk -o lib/runtime/ dart:mirrors \ |
+dart -c bin/devc.dart --no-source-maps --arrow-fn-bind-this --sdk-check \ |
+ --force-compile -l warning --dart-sdk tool/generated_sdk -o lib/runtime/ \ |
+ dart:js dart:mirrors \ |
> tool/sdk_expected_errors.txt || true |
if [[ ! -f lib/runtime/dart/core.js ]] ; then |