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

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 322603002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: pkg/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index 870309a296a645424c5ee26c41fb260103ab65a1..3d5b98f37019620da0da9e4f5755e887e0455ecb 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -2221,7 +2221,7 @@ abstract class AstNode {
}
} else {
if (_propertyMap == null) {
- _propertyMap = new Map<String, Object>();
+ _propertyMap = new HashMap<String, Object>();
}
_propertyMap[propertyName] = propertyValue;
}
@@ -4554,7 +4554,7 @@ class ConstantEvaluator extends GeneralizingAstVisitor<Object> {
@override
Object visitMapLiteral(MapLiteral node) {
- Map<String, Object> map = new Map<String, Object>();
+ HashMap<String, Object> map = new HashMap<String, Object>();
for (MapLiteralEntry entry in node.entries) {
Object key = entry.key.accept(this);
Object value = entry.value.accept(this);
@@ -14508,7 +14508,7 @@ class ScopedNameFinder extends GeneralizingAstVisitor<Object> {
AstNode _immediateChild;
- Map<String, SimpleIdentifier> _locals = new Map<String, SimpleIdentifier>();
+ Map<String, SimpleIdentifier> _locals = new HashMap<String, SimpleIdentifier>();
final int _position;
@@ -18305,7 +18305,7 @@ abstract class UriBasedDirective extends Directive {
}
/**
- * Validate the given directive, but do not check for existance.
+ * Validate the given directive, but do not check for existence.
*
* @return a code indicating the problem if there is one, or `null` no problem
*/
@@ -18588,6 +18588,7 @@ class VariableDeclarationList extends AnnotatedNode {
@override
void visitChildren(AstVisitor visitor) {
+ super.visitChildren(visitor);
safelyVisitChild(_type, visitor);
_variables.accept(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698