Index: runtime/lib/errors.cc |
diff --git a/runtime/lib/errors.cc b/runtime/lib/errors.cc |
index 0387f803697ec952d208a1e63475fa0265f67b60..28d4ef49c41d6c823a2c98caf59ec782b93222d0 100644 |
--- a/runtime/lib/errors.cc |
+++ b/runtime/lib/errors.cc |
@@ -26,6 +26,7 @@ DEFINE_NATIVE_ENTRY(AssertionError_throwNew, 2) { |
DartFrameIterator iterator; |
iterator.NextFrame(); // Skip native call. |
+ iterator.NextFrame(); // Skip _AssertionError._checkAssertion frame |
const Script& script = Script::Handle(Exceptions::GetCallerScript(&iterator)); |
// Initialize argument 'failed_assertion' with source snippet. |