Skip to content
Discussion options

You must be logged in to vote

The output type of parsers of alt must be the same. But "(" ~ #literal_string ~ ")" has a return type of (Token, String, Token) while #ident has a return type of Token.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Xuanwo
Comment options

You must be logged in to vote
1 reply
@Xuanwo
Comment options

Xuanwo Jun 16, 2022
Collaborator Author

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