mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
version: tokenize prior to freezing
This commit is contained in:
parent
20c845d470
commit
24717a8ac3
@ -635,6 +635,12 @@ class Version
|
|||||||
end
|
end
|
||||||
alias to_str to_s
|
alias to_str to_s
|
||||||
|
|
||||||
|
sig { returns(T.self_type) }
|
||||||
|
def freeze
|
||||||
|
tokens # Determine and store tokens before freezing
|
||||||
|
super
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
sig { returns(String) }
|
sig { returns(String) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user