Menu

#284 Remove "my" from constructor error message

4.0*
open
nobody
None
5
2018-06-24
2018-06-24
No

If the number of arguments passed to a constructor is incorrect, the error message refers to "my", which doesn't exist in Itcl. For example:

package require Itcl
itcl::class C {constructor x {}}
C #auto

Output:

wrong # args: should be "my constructor x"

Discussion


Log in to post a comment.