Index: sdk/lib/_internal/lib/core_patch.dart |
diff --git a/sdk/lib/_internal/lib/core_patch.dart b/sdk/lib/_internal/lib/core_patch.dart |
index 08d4be45bf2cb36df90b64646fc64caaba42cc17..9d44abf4701f3711f13fa9286cd7a2f994892c83 100644 |
--- a/sdk/lib/_internal/lib/core_patch.dart |
+++ b/sdk/lib/_internal/lib/core_patch.dart |
@@ -114,6 +114,9 @@ patch class Error { |
patch static String _objectToString(Object object) { |
return Primitives.objectToString(object); |
} |
+ |
+ // TODO(11681): implement stackTrace in error object. |
+ patch StackTrace get stackTrace => null; |
} |