Skip to content

Commit

Permalink
Fix proc_spec forcing normal compilation instead of JIT (#10964)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Jul 20, 2021
1 parent 0fae69d commit 1e8781e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/compiler/codegen/proc_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ describe "Code gen: proc" do
)).to_i.should eq(1)
end

# FIXME: JIT compilation of this spec is broken, forcing normal compilation (#10961)
it "doesn't crash when taking a proc pointer to a virtual type (#9823)" do
run(%(
abstract struct Parent
Expand All @@ -911,7 +912,7 @@ describe "Code gen: proc" do
end
Child1.new.as(Parent).get
))
), flags: [] of String)
end

it "doesn't crash when taking a proc pointer that multidispatches on the top-level (#3822)" do
Expand Down

0 comments on commit 1e8781e

Please sign in to comment.