Typesafe generics on Type
trait
#45
Labels
breaking change
This will probs end up in the next major version.
Milestone
Type
trait
#45
Currently, methods like
Type::inline
take&[DataType]
. This means you can pass an incorrect number of generics. We have a runtime fallback in case of a mistake but it would be nice to just not allow it to be wrong. Given these methods are an implementation detail is not the end of the world but it would be an extra protection against bugs.Can probs be fixed by something like:
The text was updated successfully, but these errors were encountered: