Skip to content

Commit

Permalink
Fix type parameter mismatch on Concurrent::Map
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Jan 25, 2024
1 parent 6bb07fc commit 5471d24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion gems/actionview/6.0/actionview-generated.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -10169,7 +10169,7 @@ module ActionView
class Cache
# Threadsafe template cache
# nodoc:
class SmallCache < Concurrent::Map
class SmallCache < Concurrent::Map[untyped, untyped]
def initialize: (?::Hash[untyped, untyped] options) -> untyped
end

Expand Down
7 changes: 0 additions & 7 deletions gems/actionview/6.0/patch.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ module ActionView
end
end

# Remove the fake type for Concurrent::Map
# if the real types are available.
module Concurrent
class Map
end
end

# Remove the fake type for I18n::Config
# if the real types are available.
module I18n
Expand Down

0 comments on commit 5471d24

Please sign in to comment.