@@ -1275,7 +1275,7 @@ function analyze_single_call!(
1275
1275
end
1276
1276
end
1277
1277
for (j, match) in enumerate (meth)
1278
- if ! isdispatchtuple (match. spec_types )
1278
+ if ! validate_sparams (match. sparams )
1279
1279
if ! match. fully_covers
1280
1280
handled_all_cases = false
1281
1281
continue
@@ -1366,15 +1366,14 @@ function handle_const_call!(
1366
1366
j += 1
1367
1367
result = results[j]
1368
1368
any_fully_covered |= match. fully_covers
1369
- check_sparams = isa (only_method, Bool) # validate sparams if we know this meth has >1 match
1370
1369
if isa (result, ConcreteResult)
1371
1370
case = concrete_result_item (result, state)
1372
1371
push! (cases, InliningCase (result. mi. specTypes, case))
1373
1372
elseif isa (result, ConstPropResult)
1374
- handled_all_cases &= handle_const_prop_result! (result, argtypes, flag, state, cases, true , check_sparams )
1373
+ handled_all_cases &= handle_const_prop_result! (result, argtypes, flag, state, cases, true , true )
1375
1374
else
1376
1375
@assert result === nothing
1377
- handled_all_cases &= handle_match! (match, argtypes, flag, state, cases, true , check_sparams )
1376
+ handled_all_cases &= handle_match! (match, argtypes, flag, state, cases, true , true )
1378
1377
end
1379
1378
end
1380
1379
end
0 commit comments