| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index d67b06a0f5b3c5c37d341b5764105c71fc0acd5d..210bee960f995fa33a6be8d38bda5427b1265afd 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -4817,14 +4817,16 @@ class LanguageError : public Error {
|
| static RawLanguageError* NewFormatted(const Error& prev_error,
|
| const Script& script,
|
| intptr_t token_pos,
|
| + bool report_after_token,
|
| Report::Kind kind,
|
| Heap::Space space,
|
| const char* format, ...)
|
| - PRINTF_ATTRIBUTE(6, 7);
|
| + PRINTF_ATTRIBUTE(7, 8);
|
|
|
| static RawLanguageError* NewFormattedV(const Error& prev_error,
|
| const Script& script,
|
| intptr_t token_pos,
|
| + bool report_after_token,
|
| Report::Kind kind,
|
| Heap::Space space,
|
| const char* format, va_list args);
|
| @@ -4847,6 +4849,9 @@ class LanguageError : public Error {
|
| intptr_t token_pos() const { return raw_ptr()->token_pos_; }
|
| void set_token_pos(intptr_t value) const;
|
|
|
| + bool report_after_token() const { return raw_ptr()->report_after_token_; }
|
| + void set_report_after_token(bool value);
|
| +
|
| void set_kind(uint8_t value) const;
|
|
|
| RawString* message() const { return raw_ptr()->message_; }
|
|
|