JuliaPackaging / Scratch.jl

Scratch spaces for all your persistent mutable data needs
MIT License
58 stars 11 forks source link

`m[1]` could be `nothing` #35

Closed lgeissbauer-btig closed 1 year ago

lgeissbauer-btig commented 1 year ago

https://github.com/JuliaPackaging/Scratch.jl/blob/2463844e9f0ece89a2205772a13ca22a60886975/src/Scratch.jl#L64

m is inferred as m::Base.RegexMatch. m[1] is inferred as Union{Nothing,SubString{...}} https://github.com/aviatesk/JET.jl/issues/460