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

Unified Diff: pkg/compiler/lib/src/kernel/unresolved.dart

Issue 2514323005: Revert "Update third_party/pkg/kernel version" (Closed)
Patch Set: Created 4 years, 1 month 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/kernel/kernel_visitor.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/unresolved.dart
diff --git a/pkg/compiler/lib/src/kernel/unresolved.dart b/pkg/compiler/lib/src/kernel/unresolved.dart
index 04632b7498eb9e39066beac2a627dbd282c901e3..c1e332d905e6bebf09cfc235392f924dbde9912e 100644
--- a/pkg/compiler/lib/src/kernel/unresolved.dart
+++ b/pkg/compiler/lib/src/kernel/unresolved.dart
@@ -272,7 +272,7 @@ abstract class UnresolvedVisitor {
Send node, MethodElement getter, Element element, Node rhs, _) {
var accessor = new ClassStaticAccessor(
this, getter.name, possiblyErroneousFunctionToIr(getter), null);
- return accessor.buildNullAwareAssignment(visitForValue(rhs), null,
+ return accessor.buildNullAwareAssignment(visitForValue(rhs),
voidContext: isVoidContext);
}
@@ -457,7 +457,7 @@ abstract class UnresolvedVisitor {
ir.Expression visitUnresolvedSuperSetterSetIfNull(
Send node, MethodElement getter, Element element, Node rhs, _) {
return buildUnresolvedSuperPropertyAccessor('${node.selector}', getter)
- .buildNullAwareAssignment(visitForValue(rhs), null);
+ .buildNullAwareAssignment(visitForValue(rhs));
}
ir.Expression visitUnresolvedSuperUnary(
@@ -533,26 +533,26 @@ abstract class UnresolvedVisitor {
Send node, MethodElement getter, Element element, Node rhs, _) {
var accessor = new TopLevelStaticAccessor(
this, getter.name, possiblyErroneousFunctionToIr(getter), null);
- return accessor.buildNullAwareAssignment(visitForValue(rhs), null,
+ return accessor.buildNullAwareAssignment(visitForValue(rhs),
voidContext: isVoidContext);
}
ir.Expression visitUnresolvedSuperGetterIndexSetIfNull(Send node,
Element element, MethodElement setter, Node index, Node rhs, _) {
return buildUnresolvedSuperIndexAccessor(index, element)
- .buildNullAwareAssignment(visitForValue(rhs), null);
+ .buildNullAwareAssignment(visitForValue(rhs));
}
ir.Expression visitUnresolvedSuperSetterIndexSetIfNull(Send node,
MethodElement getter, Element element, Node index, Node rhs, _) {
return buildUnresolvedSuperIndexAccessor(index, element)
- .buildNullAwareAssignment(visitForValue(rhs), null);
+ .buildNullAwareAssignment(visitForValue(rhs));
}
ir.Expression visitUnresolvedSuperIndexSetIfNull(
Send node, Element element, Node index, Node rhs, _) {
return buildUnresolvedSuperIndexAccessor(index, element)
- .buildNullAwareAssignment(visitForValue(rhs), null);
+ .buildNullAwareAssignment(visitForValue(rhs));
}
ir.Expression visitUnresolvedSuperSet(
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_visitor.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698