Index: pkg/dev_compiler/tool/input_sdk/private/js_helper.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart b/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart |
index 8d960821848766431dad86d3aa34467b98ad930c..cd02ca72d6841bc7f36f8ced04bb60886ef43a61 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart |
@@ -576,19 +576,6 @@ throwConcurrentModificationError(collection) { |
throw new ConcurrentModificationError(collection); |
} |
-@JsPeerInterface(name: 'TypeError') |
-class NullError extends Interceptor implements NoSuchMethodError { |
- StackTrace get stackTrace => Primitives.extractStackTrace(this); |
- |
- String toString() { |
- // TODO(vsm): Distinguish between null reference errors and other |
- // TypeErrors. We should not get non-null TypeErrors from DDC code, |
- // but we may from native JavaScript. |
- var message = JS('String', '#.message', this); |
- return "NullError: $message"; |
- } |
-} |
- |
class JsNoSuchMethodError extends Error implements NoSuchMethodError { |
final String _message; |
final String _method; |