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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java

Issue 10162026: Report warnings and non-fatal errors for shadowing declaration and usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for review comments Created 8 years, 8 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 | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/Checks.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java b/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
index 610e740f7c20499f20625f40b3e55eaefbd6b1e0..08f19c9814e89faa66041b586182d25946f04de5 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartParameterizedTypeNode.java
@@ -37,7 +37,7 @@ public class DartParameterizedTypeNode extends DartExpression {
}
public void setExpression(DartExpression expression) {
- this.expression = becomeParentOf(expression);
+ this.expression = expression;
}
@Override
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/Checks.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698