Jona4Play
✅ Issues with interfaces and generic classes
Ok. I believe I messed up, as it shows the same thing but with it now being broader the error changed
Is the header for the Mol class
But its now Mol<IAmount> is not compatible with Mol<ISolute>
Which means its still doesnt recognize the inheritance of the interface
64 replies
✅ Issues with interfaces and generic classes
Thing is though, that this isnt possible. It should be the IAmount interface as mol of elements are possible. So should I change it to IAmount? Wouldn't this have the same issue with interface inheritance as beforehand?
64 replies