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

JuliaLang / julia / 1477
78%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2026 11:46AM UTC
Jobs 3
Files 351
Run time 1min
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

19 Mar 2026 04:57AM UTC coverage: 77.515%. First build
1477

push

buildkite

web-flow
Escape `@nospecialize` macro output (#61362)

`@nospecialize` and `@specialize` refer to names passed as macro
arguments, so
should theoretically escape them in their expansion. They currently work
without escaping because macroexpand.scm makes a special case for
`:meta` forms.
Unfortunately, that special handling escapes `:meta` too aggressively:

```
julia> macro mac(x); x; end
@mac (macro with 1 method)

julia> ex = @macroexpand @mac function f(@nospecialize(a))
                  a
              end
:(function Main.f($(Expr(:meta, :nospecialize, :a)))
      #= REPL[2]:1 =#
      #= REPL[2]:2 =#
      var"#2#a"
  end)

julia> func = @mac function f(@nospecialize(a))
                  a
              end
f (generic function with 1 method)

julia> func(1)
ERROR: UndefVarError: `#3#a` not defined in `Main`
```

This PR doesn't fix the above or change any current behaviour, but at
least
ensures that JuliaLowering doesn't need to introduce the same bug. There
are
alternatives if this doesn't work, but all would be hacky.

2 of 2 new or added lines in 1 file covered. (100.0%)

64434 of 83125 relevant lines covered (77.51%)

23402658.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1477 macos-coverage - 1477 19 Mar 2026 11:46AM UTC 351
76.24
1477 linux-coverage - 1477 19 Mar 2026 03:08PM UTC 349
74.55
1477 windows-coverage - 1477 19 Mar 2026 04:09PM UTC 318
75.59
Source Files on build 1477
  • Tree
  • List 351
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 78a0dc11 on github
  • Prev Build on master (#1476)
  • Next Build on master (#1478)
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