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

Unified Diff: lib/strong_mode.dart

Issue 1228063003: fix for 1.12.0-dev SDK and 0.25.1 analyzer breaking changes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
Index: lib/strong_mode.dart
diff --git a/lib/strong_mode.dart b/lib/strong_mode.dart
index 7f78df400cc11ac3527f4364549a2d8b8ba16807..69a61a8e58f45de0d00ec2177aa63b6d0500a305 100644
--- a/lib/strong_mode.dart
+++ b/lib/strong_mode.dart
@@ -63,7 +63,7 @@ class StrongChecker {
var category = '${msg.runtimeType}';
var errorCode = errorCodeFactory(category, msg.message);
var len = msg.end - msg.begin;
- errors.add(new AnalysisError.con2(source, msg.begin, len, errorCode));
+ errors.add(new AnalysisError(source, msg.begin, len, errorCode));
};
for (Source librarySource in _context.getLibrariesContaining(source)) {

Powered by Google App Engine
This is Rietveld 408576698