Skip to content

Commit bdad6cb

Browse files
Merge branch 'master' into kc/kw
2 parents 67c6412 + 5da177a commit bdad6cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/abbreviations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function format(::TypedMethodSignatures, buf, doc)
394394
end
395395
end
396396

397-
if Sys.iswindows()
397+
@static if Sys.iswindows() && VERSION < v"1.8"
398398
t = tuples[findlast(f, tuples)]
399399
else
400400
t = tuples[findfirst(f, tuples)]

test/tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ end
202202
@test occursin("\n```julia\n", str)
203203
f = str -> replace(str, " " => "")
204204
str = f(str)
205-
if Sys.iswindows()
205+
if Sys.iswindows() && VERSION < v"1.8"
206206
@test occursin(f("h_1(\nx::Union{Array{T,4}, Array{T,3}} where T\n) -> Union{Array{T,4}, Array{T,3}} where T"), str)
207207
else
208208
@test occursin(f("h_1(\nx::Union{Array{T,3}, Array{T,4}} where T\n) -> Union{Array{T,3}, Array{T,4}} where T"), str)

0 commit comments

Comments
 (0)