multi-methods: remove hack, make tmethod_various compile under strict C++ [backport]

This commit is contained in:
Andreas Rumpf 2019-03-14 09:03:21 +01:00
commit 4181baf400
2 changed files with 12 additions and 12 deletions

View file

@ -996,7 +996,7 @@ const
miscPos* = 5 # used for undocumented and hacky stuff
bodyPos* = 6 # position of body; use rodread.getBody() instead!
resultPos* = 7
dispatcherPos* = 8 # caution: if method has no 'result' it can be position 7!
dispatcherPos* = 8
nkCallKinds* = {nkCall, nkInfix, nkPrefix, nkPostfix,
nkCommand, nkCallStrLit, nkHiddenCallConv}