Commit 15e0deb
Add matches for invoke invalidations (JuliaLang#57999)
Edge invalidations of the form
```julia
Package InvalidA:
module InvalidA
f(::Integer) = 1
invokesfs(x) = invoke(f, Tuple{Signed}, x)
end
Package InvalidB:
module InvalidB
using InvalidA
InvalidA.invokesfs(1) # precompile
end
```
used as
```julia
using PkgA
InvalidA.f(::Signed) = 4
using PkgB
```
did not formerly attribute a "cause":
```
...
Tuple{typeof(InvalidA.f), Signed}
"insert_backedges_callee"
CodeInstance for MethodInstance for InvalidA.invokesfs(::Int64)
nothing
...
```
This fills in the new method that replaced the previous dispatch.
---------
Co-authored-by: Jameson Nash <[email protected]>1 parent 3627a85 commit 15e0deb
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
| |||
295 | 294 | | |
296 | 295 | | |
297 | 296 | | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
319 | 322 | | |
320 | 323 | | |
321 | 324 | | |
322 | | - | |
| 325 | + | |
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
0 commit comments