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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart

Issue 12615002: Remove references to capital-D-Dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
index 5f7c700f12cdd1a7fefc4a1456f7fc2b29f5e5f7..f232595baccf2ed97783f0691873c339a8309f42 100644
--- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
+++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
@@ -430,7 +430,7 @@ class SimpleTypesInferrer extends TypesInferrer {
}
/**
- * Returns the return type of [element]. Returns [:Dynamic:] if
+ * Returns the return type of [element]. Returns [:dynamic:] if
* [element] has not been analyzed yet.
*/
TypeMask returnTypeOfElement(Element element) {
@@ -447,7 +447,7 @@ class SimpleTypesInferrer extends TypesInferrer {
}
/**
- * Returns the type of [element]. Returns [:Dynamic:] if
+ * Returns the type of [element]. Returns [:dynamic:] if
* [element] has not been analyzed yet.
*/
TypeMask typeOfElement(Element element) {
@@ -974,7 +974,7 @@ class SimpleTypeInferrerVisitor extends ResolvedVisitor<TypeMask> {
Selector getterSelector =
elements.getGetterSelectorInComplexSendSet(node);
- Selector operatorSelector =
+ Selector operatorSelector =
elements.getOperatorSelectorInComplexSendSet(node);
Selector setterSelector = elements.getSelector(node);
@@ -984,7 +984,7 @@ class SimpleTypeInferrerVisitor extends ResolvedVisitor<TypeMask> {
TypeMask receiverType = element != null
? inferrer.dynamicType
: visit(node.receiver);
-
+
TypeMask rhsType = isIncrementOrDecrement
? inferrer.intType
: node.isIndex
@@ -1095,7 +1095,7 @@ class SimpleTypeInferrerVisitor extends ResolvedVisitor<TypeMask> {
} else {
analyzeArguments(node.arguments);
// Closure call on a getter. We don't have function types yet,
- // so we just return [:Dynamic:].
+ // so we just return [:dynamic:].
return inferrer.dynamicType;
}
}

Powered by Google App Engine
This is Rietveld 408576698