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

Multiple OptionalArg #385

Open
huanmeng-qwq opened this issue Feb 23, 2024 · 0 comments
Open

Multiple OptionalArg #385

huanmeng-qwq opened this issue Feb 23, 2024 · 0 comments
Labels

Comments

@huanmeng-qwq
Copy link
Contributor

 @Execute(name = "test")
fun tnt(
    @Arg amount: Int = 1,
    @Arg loc: Location,
    @OptionalArg period: Int?,
    @OptionalArg fuse: Int?,
){
// ...
}

unsupport multiple OptionalArg

maybe: /test 1 ~ ~ ~ period=1 fuse=1?
or:

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

No branches or pull requests

2 participants