issues.cpp
5.42 KB
-
Fix #283: don't print first arg of constructor · 4e45e180
This changes the exception error message of a bad-arguments error to suppress the constructor argument when the failure is a constructor. This changes both the "Invoked with: " output to omit the object instances, and rewrites the constructor signature to make it look like a constructor (changing the first argument to the object name, and removing the ' -> NoneType' return type.
Jason Rhinelander committed