Open coffeepots opened 6 years ago
For off
the same.
Yeah, but I wonder why overloading resolution picks up consts
. :-)
It finds system.on
first then calls semIndirectOp
which calls semOpAux
which typechecks all the arguments.
Maybe other symbols should also call semDirectOp
/semMagic
the same way ambiguous type symbols do
Module A:
Module B:
Changing the name of the macro from
on
fixes the problem.