Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bug when using plugin methods in a with block #246

Open
nvnieuwk opened this issue Aug 20, 2024 · 0 comments
Open

Bug when using plugin methods in a with block #246

nvnieuwk opened this issue Aug 20, 2024 · 0 comments

Comments

@nvnieuwk
Copy link
Contributor

Hi!

A user reported some weird issue when trying to use the nft-bam bam() method in their test which resulted in a java.lang.IllegalArgumentException: argument type mismatch error. After some digging I noticed that this only happens when the method is used in a with block:

with (process.out.bam) {
    bam(get(0).get(1))
}

I'm not sure what is going wrong but it seemed like a bug in the plugin implementation from what I saw in the stack trace. You can find a reproducible example in the original issue

Thank you!
-Nicolas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant