Skip to content

Commit

Permalink
Merge pull request #506 from pocke/Fix_type_parameter_mismatch_on_Con…
Browse files Browse the repository at this point in the history
…current__Map

Fix type parameter mismatch on Concurrent::Map
  • Loading branch information
pocke authored Jan 25, 2024
2 parents 6bb07fc + 5471d24 commit f6da6d6
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 f6da6d6

Please sign in to comment.