Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
None
-
All
Description
When attempting to create an object with a constructor signature that does not exist, a runtime error can be produced which only shows the class name. It should also show the constructor argument types. See MetaClass.invokeConstructor().
Example:
Current error message:
Could not find matching constructor for class: myClass
New error message:
Could not find matching constructor for: myClass(java.lang.String)
Attachments
Issue Links
- depends upon
-
GROOVY-256 Numeric literals: default BigDecimal for decimals, support suffixes
- Closed