[sword-devel] Confusing semantics for SWModule postfix ++/-- operators?

Jaak Ristioja jaak at ristioja.ee
Sat Oct 15 15:30:40 MST 2016


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



More information about the sword-devel mailing list