Skip to content

Commit

Permalink
Update src/validation.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Besard <[email protected]>
  • Loading branch information
aviatesk and maleadt authored Mar 16, 2022
1 parent 0b307a4 commit a36bc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function check_method(@nospecialize(job::CompilerJob))
cache = ci_cache(job)
mt = method_table(job)
interp = GPUInterpreter(cache, mt, job.source.world)
@static if VERSION v"1.8-beta2"
@static if v"1.8-beta2" <= VERSION < v"1.9-" || VERSION v"1.9.0-DEV.190"
# https://github.com/JuliaLang/julia/pull/44515
rt = Base.return_types(job.source.f, job.source.tt; interp)[1]
else
Expand Down

0 comments on commit a36bc35

Please sign in to comment.