Tcl Checker Messages : snit

 Top

Error Messages from snit.pcx

Message ID Category Message String
snit::badArgument Error arglist may not contain "%1$s" explicitly
snit reserves the argument names 'self', 'selfns', 'type' and 'win' for internal purposes.
snit::badExecutionContext Error This command is valid only in an instance context
This command is valid only in an instance context, i.e. in method bodies. In typemethods and equivalent we do not have enough information to perform the command.
snit::badInstallHull Error installhull is valid only for snit::widgetadaptors
installhull is valid only for snit::widgetadaptors
snit::badMethodRedefine Error Cannot define both regular and delegated instance method "%1$s"
The named (instance) method has both a local definition and is attempted to be delegated somewhere else. Snit doesn't support that.
snit::badOption Error badly named option "%1$s"
Option names have to start with a dash, and must not contain uppercase characters, nor space.
snit::badOptionRedefine Error Cannot define both regular and delegated option "%1$s"
The named option has both a local definition and is attempted to be delegated somewhere else. Snit doesn't support that.
snit::badTypemethodRedefine Error Cannot define both regular and delegated type method "%1$s"
The named type method has both a local definition and is attempted to be delegated somewhere else. Snit doesn't support that.
snit::badUsingFmt Error Bad format for using clause: "%1$s"
This error indicates that a placeholder character specified with the "using" clause in a "delegate" command is invalid. Refer to the ActiveTcl User Guide for "delegate using" command specifications.
snit::dmBadAs Error Cannot specify "as" with "*"
The form "delegate method *" does not allow renaming via "as"
snit::dmBadAsUsing Error Cannot specify both "as" and "using"
In delegations we can either specify the target via "using", or rename the original via "as", but not both.
snit::dmBadExcept Error Can only specify "except" with "*"
Only the form "delegate method *" allows the specification of exceptions.
snit::dMissingTo Error Missing "to"
A "delegate" command has to specify where the method/option is delegated to.
snit::doBadAs Error Cannot specify "as" with "delegate option *"
The form "delegate option *" does not allow renaming via "as"
snit::doBadExcept Error Can only specify "except" with "delegate option *"
Only the form "delegate option *" allows the specification of exceptions.
snit::expectedFullMethod Warning Instance method "%1$s" is known, but a partial call
The named (instance) method is not a fully dispatched name of a multi-word method, but such is expected at the location
snit::unknownclassVar Warning Type variable "%1$s" is not known
The named typevariable was not defined for the class
snit::unknowninstanceVar Warning Instance variable "%1$s" is not known
The named (instance) variable was not defined for the class
snit::unknownMethod Warning Instance method "%1$s" is not known
The named (instance) method was not defined for the class
snit::unknownOption Warning Option "%1$s" is not known
The named option was not defined for the class
snit::unknownProc Warning Proc "%1$s" is not known
The named proc was not defined for the class
snit::unknownTypemethod Warning Type method "%1$s" is not known
The named type method was not defined for the class
snit::warnArgument Warning Avoid reserved name "%1$s" in arglist
snit reserves the argument names 'self', 'selfns', 'type' and 'win' for internal purposes. Only a warning because technically they are not reserved for procs. It is however recommended to avoid them there as well.
snit::warnMethodRedefine Warning Redefined instance method "%1$s"
The named (instance) method was defined multiple times in the class
snit::warnOptionRedefine Warning Redefined option "%1$s"
The named option was defined multiple times in the class
snit::warnProcRedefine Warning Redefined proc "%1$s"
The named proc was defined multiple times in the class
snit::warnTypemethodRedefine Warning Redefined type method "%1$s"
The named type method was defined multiple times in the class
 Top