Resolves https://github.com/dart-lang/sdk/issues/29464. R=lrn@google.com Review-Url: https://codereview.chromium.org/2838853003 .