• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37542
77%

Build:
DEFAULT BRANCH: master
Ran 18 May 2023 12:25PM UTC
Jobs 1
Files 340
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#37542

push

local

web-flow
inference: prioritize `SlotNumber`-constraint over `MustAlias`-constraint (#49856)

Currently external `AbstractInterpreter` that uses `MustAliasesLattice`
can fail to propagate type constraint on `SlotNumber` in the call-site
refinement, e.g. fail to infer the return type of `firstitem(::ItrList)`
in the following code:
```julia
struct ItrList
    list::Union{Tuple{},Vector{Int}}
end

hasitems(list) = length(list) >= 1

function firstitem(ilist::ItrList)
    list = ilist.list
    if hasitems(list)
        return list
    end
    error("list is empty")
end
```

(xref: <https://github.com/aviatesk/JET.jl/issues/509#issuecomment-1546658476>)

This commit fixes it up as well as fixes the implementation of
`from_interprocedural!` so that it uses the correct lattice.

71262 of 83271 relevant lines covered (85.58%)

34423454.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37542.1 18 May 2023 12:25PM UTC 340
85.58
Source Files on build #37542
  • Tree
  • List 340
  • Changed 292
  • Source Changed 0
  • Coverage Changed 292
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ce3909cc on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc