| Index: runtime/vm/exceptions.h
|
| diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
|
| index e8e715b35b8fa9d1914ab2abcb3ed9a24cbb2d65..ada7606427f721b4cf01a8f54cadfe6574c6f731 100644
|
| --- a/runtime/vm/exceptions.h
|
| +++ b/runtime/vm/exceptions.h
|
| @@ -6,6 +6,7 @@
|
| #define VM_EXCEPTIONS_H_
|
|
|
| #include "vm/allocation.h"
|
| +#include "vm/token_position.h"
|
|
|
| namespace dart {
|
|
|
| @@ -42,7 +43,7 @@ class Exceptions : AllStatic {
|
| static RawStacktrace* CurrentStacktrace();
|
| static RawScript* GetCallerScript(DartFrameIterator* iterator);
|
| static RawInstance* NewInstance(const char* class_name);
|
| - static void CreateAndThrowTypeError(intptr_t location,
|
| + static void CreateAndThrowTypeError(TokenPosition location,
|
| const String& src_type_name,
|
| const String& dst_type_name,
|
| const String& dst_name,
|
|
|