Skip to content

Commit

Permalink
tapioca don't like super
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrias committed Sep 10, 2024
1 parent 63079f3 commit 62d3ca2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/runtime_generic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ def [](inner_type)
end

def type_member(variance = :invariant, &blk)
# Calling supper to make it compatible with Tapioca
super.type_member(variance, &blk)
MyTypeMember.new(variance, &blk)
end
end

0 comments on commit 62d3ca2

Please sign in to comment.