-
-
Notifications
You must be signed in to change notification settings - Fork 35
Determine immutability for const type parameters #827
Copy link
Copy link
Closed
Labels
Resolution: ExternalIt was a real bug, but not in the code in this repo.It was a real bug, but not in the code in this repo.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.
Metadata
Metadata
Assignees
Labels
Resolution: ExternalIt was a real bug, but not in the code in this repo.It was a real bug, but not in the code in this repo.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Suggestion
Example:
Currently this results in: Return type should have an immutability of at least "Immutable" (actual: "Mutable"). However, the type parameter uses the const keyword so the code is equivalent to the following, which is correctly treated as immutable.
(Not sure if this is a suggestion for this repo or for is-immutable-type so I made it here.)