Skip to content

Commit

Permalink
Remove all backcompat patches that we no longer need
Browse files Browse the repository at this point in the history
  • Loading branch information
paracycle committed Dec 20, 2023
1 parent 1b7afe2 commit 23f27e5
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions lib/tapioca/sorbet_ext/backcompat_patches.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
# typed: true
# frozen_string_literal: true

unless defined?(T.anything)
module T
class << self
def anything
T.untyped
end
end
end
end
# This file contains patches to make Tapioca work with older versions of Sorbet.

unless defined?(T::Class)
module T
module Class
class << self
def [](type)
T.untyped
end
end
end
end
end
# NOTE: If there is currently no need for any patches, this file will be empty.

0 comments on commit 23f27e5

Please sign in to comment.