add _CompileTimeError error to dart2js patch

See https://github.com/dart-lang/sdk/issues/29661 for context

R=ahe@google.com

Review-Url: https://codereview.chromium.org/2901323002 .
This commit is contained in:
Sigmund Cherem 2017-05-24 13:52:27 -07:00
parent 2187f5232d
commit 80942f15cf

View file

@ -606,6 +606,13 @@ class NoSuchMethodError {
}
}
class _CompileTimeError extends Error {
final String _errorMsg;
// TODO(sigmund): consider calling `JS("", "debugger")`.
_CompileTimeError(this._errorMsg);
String toString() => _errorMsg;
}
@patch
class Uri {
@patch