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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart

Issue 17940002: Fix typo that caused orphaned info to be emitted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart b/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
index b99053279c4c4bb8c9117551c13ad7442362f9bb..4cbd6411e0a5e93fc2371d53c0c49a4b6c90a039 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
@@ -94,7 +94,7 @@ class FormattingDiagnosticHandler {
// This is used to suppress info about a warning when warnings are
// suppressed, and similar for hints.
var previousKind = lastKind;
- if (previousKind != api.Diagnostic.INFO) {
+ if (kind != api.Diagnostic.INFO) {
lastKind = kind;
}
var color;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698