Skip to content

Commit 2e2b1d2

Browse files
authored
Fixed inference on String causing invalidations in binaryplatform (#44084)
1 parent 7ccc83e commit 2e2b1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/binaryplatforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct Platform <: AbstractPlatform
7171
if isa(value, VersionNumber)
7272
value = string(value)
7373
elseif isa(value, AbstractString)
74-
v = tryparse(VersionNumber, String(value))
74+
v = tryparse(VersionNumber, String(value)::String)
7575
if isa(v, VersionNumber)
7676
value = string(v)
7777
end

0 commit comments

Comments
 (0)