mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
[dart2js] Fix node tracer migration
Change-Id: Id49719ca21471370e9428224a231d285d3c84551 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261560 Commit-Queue: Nate Biggs <natebiggs@google.com> Auto-Submit: Nate Biggs <natebiggs@google.com> Commit-Queue: Mayank Patke <fishythefish@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>
This commit is contained in:
parent
1ad9306ad2
commit
0ec921e8c3
|
@ -345,7 +345,7 @@ abstract class TracerVisitor implements TypeInformationVisitor {
|
|||
List<TypeInformation> positionalArguments = arguments.positional;
|
||||
if (positionalArguments.length == 1) {
|
||||
return (selectorName == 'add' && currentUser == positionalArguments[0]);
|
||||
} else if (arguments.length == 2) {
|
||||
} else if (positionalArguments.length == 2) {
|
||||
return (selectorName == 'insert' &&
|
||||
currentUser == positionalArguments[1]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue