Skip to content

Commit e34679a

Browse files
authored
Merge pull request #2309 from Shopify/ko/bootsnap-super
Only call `load_iseq` if it's defined
2 parents b492329 + c7f7eb5 commit e34679a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tapioca/rbs/rewriter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module ISeq
2626
module InstructionSequenceMixin
2727
#: (String) -> RubyVM::InstructionSequence
2828
def load_iseq(path)
29-
super
29+
super if defined?(super)
3030
end
3131
end
3232
end

0 commit comments

Comments
 (0)