@@ -438,7 +438,6 @@ private module Cached {
438
438
FlowSummaryImplSpecific:: ParsePositions:: isParsedKeywordParameterPosition ( _, name )
439
439
} or
440
440
THashSplatArgumentPosition ( ) or
441
- TSplatAllArgumentPosition ( ) or
442
441
TSplatArgumentPosition ( int pos ) { exists ( Call c | c .getArgument ( pos ) instanceof SplatExpr ) } or
443
442
TSynthSplatArgumentPosition ( ) or
444
443
TAnyArgumentPosition ( ) or
@@ -469,7 +468,6 @@ private module Cached {
469
468
// position for multiple parameter nodes in the same callable, we introduce this
470
469
// synthetic parameter position.
471
470
TSynthHashSplatParameterPosition ( ) or
472
- TSplatAllParameterPosition ( ) or
473
471
TSplatParameterPosition ( int pos ) {
474
472
exists ( Parameter p | p .getPosition ( ) = pos and p instanceof SplatParameter )
475
473
} or
@@ -1300,8 +1298,6 @@ class ParameterPosition extends TParameterPosition {
1300
1298
// A fake position to indicate that this parameter node holds content from a synth arg splat node
1301
1299
predicate isSynthArgSplat ( ) { this = TSynthArgSplatParameterPosition ( ) }
1302
1300
1303
- predicate isSplatAll ( ) { this = TSplatAllParameterPosition ( ) }
1304
-
1305
1301
predicate isSplat ( int n ) { this = TSplatParameterPosition ( n ) }
1306
1302
1307
1303
/**
@@ -1329,8 +1325,6 @@ class ParameterPosition extends TParameterPosition {
1329
1325
or
1330
1326
this .isSynthHashSplat ( ) and result = "synthetic **"
1331
1327
or
1332
- this .isSplatAll ( ) and result = "*"
1333
- or
1334
1328
this .isAny ( ) and result = "any"
1335
1329
or
1336
1330
this .isAnyNamed ( ) and result = "any-named"
@@ -1372,8 +1366,6 @@ class ArgumentPosition extends TArgumentPosition {
1372
1366
*/
1373
1367
predicate isHashSplat ( ) { this = THashSplatArgumentPosition ( ) }
1374
1368
1375
- predicate isSplatAll ( ) { this = TSplatAllArgumentPosition ( ) }
1376
-
1377
1369
predicate isSplat ( int n ) { this = TSplatArgumentPosition ( n ) }
1378
1370
1379
1371
predicate isSynthSplat ( ) { this = TSynthSplatArgumentPosition ( ) }
@@ -1394,8 +1386,6 @@ class ArgumentPosition extends TArgumentPosition {
1394
1386
or
1395
1387
this .isHashSplat ( ) and result = "**"
1396
1388
or
1397
- this .isSplatAll ( ) and result = "*"
1398
- or
1399
1389
this .isSynthSplat ( ) and result = "synthetic *"
1400
1390
or
1401
1391
exists ( int pos | this .isSplat ( pos ) and result = "* (position " + pos + ")" )
@@ -1427,11 +1417,9 @@ predicate parameterMatch(ParameterPosition ppos, ArgumentPosition apos) {
1427
1417
or
1428
1418
ppos .isSynthHashSplat ( ) and apos .isHashSplat ( )
1429
1419
or
1430
- ppos .isSplatAll ( ) and apos .isSplatAll ( )
1431
- or
1432
- ppos .isSplatAll ( ) and apos .isSynthSplat ( )
1420
+ ppos .isSplat ( 0 ) and apos .isSynthSplat ( )
1433
1421
or
1434
- ppos .isSynthSplat ( ) and apos .isSplatAll ( )
1422
+ ppos .isSynthSplat ( ) and apos .isSplat ( 0 )
1435
1423
or
1436
1424
apos .isSynthSplat ( ) and ppos .isSynthArgSplat ( )
1437
1425
or
0 commit comments