Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

provide metamethod equivalents of Caller#info #138

Merged
merged 2 commits into from
Feb 21, 2020

Conversation

barspi
Copy link
Contributor

@barspi barspi commented Feb 21, 2020

Now we can transparently call org.jpos.util.Caller.info() from Groovy code and the output will make sense, being equivalent to what one would expect in Java
It will output the correct groovy line number, and show the script name if it's an external Groovy class/file, or for embedded scripts in GroovyParticipant and GroovyListener it will show something like GroovyParticipant_prepare__myRealmName.run:32

@ar ar merged commit 70c3010 into jpos:master Feb 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants