Lint when a parameter should be marked as tracked
, but couldn't be inferred
#21987
Labels
area:experimental:modularity
Issues related to the modularity extension.
area:linting
Linting warnings enabled with -W or -Xlint
itype:enhancement
Description
The compiler should give a lint when a parameter should be marked as
tracked
, but the compiler couldn't infer it correctly.Example
For the following example:
The compiler should warn, that
t
should most likely be marked astracked
, since it is used as atracked
parameter inC
.Details
This should be enabled under a linting flag that only works under
experimental.modularity
The text was updated successfully, but these errors were encountered: