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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/error.dart

Issue 25373002: Issue 13584. Fix for Java/Dart local variable scoping mismatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: pkg/analyzer_experimental/lib/src/generated/error.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/error.dart b/pkg/analyzer_experimental/lib/src/generated/error.dart
index 54a7b40191b5fa5cc32df891c29287a5ac1dba55..7c5d24de5e9890dca2ce1b21a9f0cd160c24b522 100644
--- a/pkg/analyzer_experimental/lib/src/generated/error.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/error.dart
@@ -206,8 +206,8 @@ class ErrorReporter {
*
* @param source the source to be used when reporting errors
*/
- void set source(Source source2) {
- this._source = source2 == null ? _defaultSource : source2;
+ void set source(Source source) {
+ this._source = source == null ? _defaultSource : source;
}
}
/**

Powered by Google App Engine
This is Rietveld 408576698