summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-11-06 09:47:23 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2010-11-06 09:47:23 +0000
commit21c9ea0f509c0039ba62c6732cacb5d7bdc34261 (patch)
tree0dc5c7673cfffa529881b89c9fbeb64f0039db0a /codegen.py
parent6e0c2971c7c1a30fef0bc895adc79d437c99c733 (diff)
downloadrabbitmq-server-git-21c9ea0f509c0039ba62c6732cacb5d7bdc34261.tar.gz
backport upstream change to way print_event/3 is called
The code previously relied on the ancient {ModuleName,FunName} syntax to denote functions. That is bad for dialyzer and also forces an unnecessary export. The underlying code in sys:handle_debug hasn't actually changed - I've checked back as far as R12B-3 and it's always been invoking the fun with Fun(...) and is not doing any pattern matching on it. Also, the R12B-3 docs says that the fun is "fun(FuncState,Event,ProcState) -> done | NewFuncState", i.e. there is no hint that it should be passed as a {ModuleName,FunName} pair.
Diffstat (limited to 'codegen.py')
0 files changed, 0 insertions, 0 deletions