← Back to team overview

mudlet-makers team mailing list archive

[Bug 1008264] [NEW] createLabel() API improvement

 

Public bug reported:

Similar to the send() #998570 API improvement, this adds the following
style to createLabel argument check messages:

<function>: bad argument #<#> (<one-word description of argument> <type>
expected, got %s)

ie: createLabel: bad argument #5 (height number expected, got %s)

Attached is a patch that implements this.

This makes it much easier to realize which argument you got wrong and
why.

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1008264

Title:
  createLabel() API improvement

Status in Mudlet the MUD client:
  New

Bug description:
  Similar to the send() #998570 API improvement, this adds the following
  style to createLabel argument check messages:

  <function>: bad argument #<#> (<one-word description of argument>
  <type> expected, got %s)

  ie: createLabel: bad argument #5 (height number expected, got %s)

  Attached is a patch that implements this.

  This makes it much easier to realize which argument you got wrong and
  why.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1008264/+subscriptions


Follow ups

References