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

Unified Diff: pkg/compiler/lib/src/types/types.dart

Issue 2656583003: Add inference test functionality based on code point id. (Closed)
Patch Set: Updated cf. comments Created 3 years, 11 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 | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | tests/compiler/dart2js/annotated_code_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/types/types.dart
diff --git a/pkg/compiler/lib/src/types/types.dart b/pkg/compiler/lib/src/types/types.dart
index 26d29eac41ff18cbb47e17fa5d42f1f2e51488c6..5892a00fa1dac5fa915629cf5b8325ff80f44bcc 100644
--- a/pkg/compiler/lib/src/types/types.dart
+++ b/pkg/compiler/lib/src/types/types.dart
@@ -128,11 +128,11 @@ class GlobalTypeInferenceElementData {
_typeMasks[node] = mask;
}
- TypeMask typeOfSend(Node node) => _get(node);
+ TypeMask typeOfSend(Send node) => _get(node);
TypeMask typeOfGetter(SendSet node) => _get(node.selector);
TypeMask typeOfOperator(SendSet node) => _get(node.assignmentOperator);
- void setTypeMask(Node node, TypeMask mask) {
+ void setTypeMask(Send node, TypeMask mask) {
_set(node, mask);
}
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | tests/compiler/dart2js/annotated_code_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698