Skip to content

IDE complains with "cannot infer argument" when using any CommandManager type #236

Answered by jpenilla
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, the docs have a mistake here, been meaning to fix it but haven't had time. The solution is giving a type argument to newBuilder, i.e. AsynchronousCommandExecutionCoordinator.<CommandSender>newBuilder()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants