Index: sdk/lib/core/errors.dart |
diff --git a/sdk/lib/core/errors.dart b/sdk/lib/core/errors.dart |
index 8e7710889f9fce774d92a209b054f00e50033325..c11ea2e1a97da25e0c73490a216d7ec025492dc6 100644 |
--- a/sdk/lib/core/errors.dart |
+++ b/sdk/lib/core/errors.dart |
@@ -120,24 +120,6 @@ class NullThrownError extends Error { |
} |
/** |
- * Error thrown when attempting to dereference [:null:]. |
- */ |
-class NullDereferenceError extends Error implements NoSuchMethodError { |
- /** Message describing the problem. */ |
- final message; |
- |
- /** |
- * The [message] optionally describes the circumstances |
- * under which [:null:] was dereferenced. |
- */ |
- NullDereferenceError([this.message]); |
- |
- String toString() { |
- return "Cannot dereference null.${ message != null ? ' $message' : ''}"; |
- } |
-} |
- |
-/** |
* Error thrown when a function is passed an unacceptable argument. |
*/ |
class ArgumentError extends Error { |