Skip to content

Commit

Permalink
Enable pending formatter features (#14718)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 authored Oct 10, 2024
1 parent 8b4fe41 commit 991f9d0
Show file tree
Hide file tree
Showing 40 changed files with 272 additions and 428 deletions.
344 changes: 94 additions & 250 deletions spec/compiler/formatter/formatter_spec.cr

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion spec/llvm-ir/pass-closure-to-c-debug-loc.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def raise(msg)
end

x = 1
f = ->{ x }
f = -> { x }
Foo.foo(f)

# CHECK: define internal i8* @"~check_proc_is_not_closure"(%"->" %0)
Expand Down
2 changes: 1 addition & 1 deletion spec/llvm-ir/proc-call-debug-loc.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
x = ->{}
x = -> { }
x.call
# CHECK: extractvalue %"->" %{{[0-9]+}}, 0
# CHECK-SAME: !dbg [[LOC:![0-9]+]]
Expand Down
2 changes: 1 addition & 1 deletion spec/std/benchmark_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe Benchmark::IPS::Job do
end

private def create_entry
Benchmark::IPS::Entry.new("label", ->{ 1 + 1 })
Benchmark::IPS::Entry.new("label", -> { 1 + 1 })
end

private def h_mean(mean)
Expand Down
Loading

0 comments on commit 991f9d0

Please sign in to comment.