Skip to content

Commit

Permalink
Unfreeze literals
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Dec 26, 2024
1 parent 0593bdc commit 1080aba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/steep/interface/type_param.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def self.rename(params, conflicting_names = params.map(&:name), new_names = conf
end

def to_s
buf = ""
buf = +""

if unchecked
buf << "unchecked "
Expand Down
2 changes: 1 addition & 1 deletion lib/steep/server/lsp_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def name_and_params(name, params)
"#{name}"
else
ps = params.each.map do |param|
s = ""
s = +""
if param.unchecked?
s << "unchecked "
end
Expand Down
4 changes: 2 additions & 2 deletions test/cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class Person
pid = spawn(*steep, "watch", "app/lib", out: w, chdir: current_dir.to_s)
w.close

output = ""
output = +""

begin
read_thread = Thread.new do
Expand Down Expand Up @@ -578,7 +578,7 @@ class Person
pid = spawn(*steep.push("watch", "app/models/person.rb"), out: w, chdir: current_dir.to_s)
w.close

output = ""
output = +""

begin
read_thread = Thread.new do
Expand Down

0 comments on commit 1080aba

Please sign in to comment.