Extension type should be able to have assert for the parameter of the constructor #3354
Labels
extension-types
feature
Proposed language feature that solves one or more problems
state-duplicate
This issue or pull request already exists
AFAIK, currently extension types doesn't have a way to define assertion for their parameter of their constructors.
As a smart alternative of
typedef
, assertion seems important.The text was updated successfully, but these errors were encountered: