Merge pull request #18043 from Homebrew/io-typed-strict

This commit is contained in:
Patrick Linnane 2024-08-13 16:09:13 -06:00 committed by GitHub
commit d0d18a3ece
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
# typed: true # rubocop:todo Sorbet/StrictSigil # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
class IO class IO
sig { params(sep: String).returns(String) }
def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR) def readline_nonblock(sep = $INPUT_RECORD_SEPARATOR)
line = +"" line = +""
buffer = +"" buffer = +""