Give warning when two type parameters cannot be inequal #279
Labels
Component: editor
Priority: low
Status: proposal
Enhancement in the proposal stage
Type: enhancement
New feature or request
Summary
Give warning when two type parameters cannot be inequal
Todo
Reason
Having multiple type parameters is useless if the only possible instantiations give them both the same type, so it should give a warning when detected.
Examples
From
data_def_generics.spt
. Don't know for sure if these can only be instantiated whenT=R
, but seems so to me.The text was updated successfully, but these errors were encountered: