Closed LoganWalls closed 1 year ago
Please disregard. There was a non-obvious mismatch between my actual environment and this minimal example. Everything in ohm is working as expected. (Although I will note for future readers: AX will receive its own match as just one argument. To get the separate matches for A and X you need to look at arg0.children
.
My apologies, and thanks again for maintaining the library!
Hi!
Thank you for maintaining this project! It is proving very useful for me.
If I define a parameterized rule like so:
The
ActionDict
type hints generated byohm generateBundles --withTypes
showAX
as taking a single parameter (matches for"X"
):But in practice, when the
AX
rule is triggered ohm will pass two parameters (matches for"A"+
and matches for"X"
).Is this intended behavior? What I expected was what ohm is actually doing (actions for the
AX
rule should receive the matches for both"A"+
and"X"
).Thanks!