Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 3ef19c9b1605ab82cfbe856f98836181415c4d19..29f16848f17ccaeec0c97f737240493543103b59 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -426,7 +426,7 @@ RawInstance* Exceptions::NewInstance(const char* class_name) { |
// Allocate, initialize, and throw a TypeError or CastError. |
// If error_msg is not null, throw a TypeError, even for a type cast. |
-void Exceptions::CreateAndThrowTypeError(intptr_t location, |
+void Exceptions::CreateAndThrowTypeError(TokenPosition location, |
const String& src_type_name, |
const String& dst_type_name, |
const String& dst_name, |