Skip to content

Commit f6ae2b3

Browse files
louisponetLilithHafner
authored andcommitted
Fixed inference on String causing invalidations in binaryplatform (JuliaLang#44084)
1 parent cd4c164 commit f6ae2b3

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)