Is there an existing issue for this?
I am following the documentation's guide
This issue exists in the latest version
Current Behavior
Calling new of a class does not check the provided arguments against the constructor parameter types. This is a major oversight and should be immediately fixed.
Expected Behavior
new ...(arg1, arg2, ...) should be type-checked against the existing constructor definition in the class.
Steps To Reproduce
- Create a class with any number of constructor parameters.
- Instantiate the class with any wrong argument type or incorrect argument count.
- View error not happening.
Environment
- Kipper: 0.12.1
- Environment: All
- Operating System: All
Is there an existing issue for this?
I am following the documentation's guide
This issue exists in the latest version
Current Behavior
Calling
newof a class does not check the provided arguments against the constructor parameter types. This is a major oversight and should be immediately fixed.Expected Behavior
new ...(arg1, arg2, ...)should be type-checked against the existing constructor definition in the class.Steps To Reproduce
Environment