Skip to content

Commit

Permalink
Fix codegen spec for ProcPointer of virtual type (#14903)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Aug 15, 2024
1 parent 1a243ad commit be4a20b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/compiler/codegen/proc_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,6 @@ 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 @@ -990,7 +989,7 @@ describe "Code gen: proc" do
end
Child1.new.as(Parent).get
), flags: [] of String)
), Proc(Int32, Int32, Int32))
end

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

0 comments on commit be4a20b

Please sign in to comment.