Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-189

Confusing semantics for SWModule postfix ++/-- operators?

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Hello!

      It seems that the postfix ++/-- operators defined in SWMODULE_OPERATORS
      have prefix +/-- semantics, i.e. (module+) is equivalent to
      (module.increment(1), module). This is probably not the intended behavior.

      Blessings,
      J

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jotik Jaak Ristioja
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: