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

Wrong number of modifier arguments in nested custom modifiers #271

Closed
Defelo opened this issue Nov 30, 2023 · 0 comments
Closed

Wrong number of modifier arguments in nested custom modifiers #271

Defelo opened this issue Nov 30, 2023 · 0 comments

Comments

@Defelo
Copy link

Defelo commented Nov 30, 2023

The following code used to work fine on 0.3.1 but now fails on 0.4.0 with the error below:

A! ← ^1
B! ← A!^1

B!(×7) 6
Error: The name B! implies 1 modifier arguments, but the binding body references 2. Try `B!!`.
  at test.ua:2:1
2 | B! ← A!^1
    ──

A quick git bisect revealed that this bug was introduced by commit ffe7e06 (at least I assume this is as bug since it worked before and I couldn't find anything about this neither in the latest change log nor in the documentation).

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