carp-dk / carp-dk/detekt-verify-implementation
Do not assume that immutable collections contain immutable types.
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Right now the `Immutable` rule simply assumes that an immutable collection (`Map`, `Set`, and `List`) are immutable.
But, of course there can be mutable types within the collection. Verify the type(s) used in the collection.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the `Immutable` rule and its handling of `Map`, `Set`, and `List`. Trace how the types used inside each collection are checked, then add or update coverage so collections containing mutable types are not treated as immutable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100