We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad9306 commit 0ec921eCopy full SHA for 0ec921e
pkg/compiler/lib/src/inferrer/node_tracer.dart
@@ -345,7 +345,7 @@ abstract class TracerVisitor implements TypeInformationVisitor {
345
List<TypeInformation> positionalArguments = arguments.positional;
346
if (positionalArguments.length == 1) {
347
return (selectorName == 'add' && currentUser == positionalArguments[0]);
348
- } else if (arguments.length == 2) {
+ } else if (positionalArguments.length == 2) {
349
return (selectorName == 'insert' &&
350
currentUser == positionalArguments[1]);
351
}
0 commit comments