Skip to content

Commit 7b1c319

Browse files
authored
Widen signature on parse_platform (#194)
1 parent f224028 commit 7b1c319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ platform_exeext(p::AbstractPlatform) = Sys.iswindows(p) ? ".exe" : ""
4141

4242
# Helper parsing function: it extends `parse(Platform, p)` by supporting
4343
# `AnyPlatform` as well.
44-
parse_platform(p::String) = p == "any" ? AnyPlatform() : parse(Platform, p; validate_strict=true)
44+
parse_platform(p::AbstractString) = p == "any" ? AnyPlatform() : parse(Platform, p; validate_strict=true)
4545

4646

4747
# Recursively test for key presence in nested dicts

0 commit comments

Comments
 (0)