Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1674)

Unified Diff: runtime/vm/class_finalizer.cc

Issue 1574213005: Report missing semicolons after function declarations (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.cc
diff --git a/runtime/vm/class_finalizer.cc b/runtime/vm/class_finalizer.cc
index 8ef3511c611dac6c57f9c0cc6ec2e40eced3fbdd..39a558d7aa83797a246855982684c25347605342 100644
--- a/runtime/vm/class_finalizer.cc
+++ b/runtime/vm/class_finalizer.cc
@@ -3048,7 +3048,7 @@ void ClassFinalizer::MarkTypeMalformed(const Error& prev_error,
va_list args) {
LanguageError& error = LanguageError::Handle(
LanguageError::NewFormattedV(
- prev_error, script, type.token_pos(),
+ prev_error, script, type.token_pos(), Report::AtLocation,
Report::kMalformedType, Heap::kOld,
format, args));
if (Isolate::Current()->flags().error_on_bad_type()) {
@@ -3109,7 +3109,7 @@ void ClassFinalizer::FinalizeMalboundedType(const Error& prev_error,
va_start(args, format);
LanguageError& error = LanguageError::Handle(
LanguageError::NewFormattedV(
- prev_error, script, type.token_pos(),
+ prev_error, script, type.token_pos(), Report::AtLocation,
Report::kMalboundedType, Heap::kOld,
format, args));
va_end(args);
@@ -3149,7 +3149,8 @@ void ClassFinalizer::ReportError(const Class& cls,
va_list args;
va_start(args, format);
const Script& script = Script::Handle(cls.script());
- Report::MessageV(Report::kError, script, token_pos, format, args);
+ Report::MessageV(Report::kError,
+ script, token_pos, Report::AtLocation, format, args);
va_end(args);
UNREACHABLE();
}
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698