Adresses https://github.com/dart-lang/sdk/issues/26659. R=lrn@google.com Review URL: https://codereview.chromium.org/2190373002 .