Skip to content
  • Damien George's avatar
    py/argcheck: Remove #if guard around terse error message helper func. · 93ce125a
    Damien George authored
    Not all compilers/analysers are smart enough to realise that this function
    is never called if MICROPY_ERROR_REPORTING is not TERSE, because the logic
    in the code uses if statements rather than #if to select whether to call
    this function or not (MSC in debug mode is an example of this, but there
    are others).  So just unconditionally compile this helper function.  The
    code-base anyway relies on the linker to remove unused functions.
    93ce125a