Skip to content

Return a result in PrattParser .map_primary #954

Answered by Specy
Specy asked this question in Q&A
Discussion options

You must be logged in to vote

I tried that out and it worked flawlessly! Code is here.
The compiler also managed to infer the result type

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Specy
Comment options

@Specy
Comment options

@Specy
Comment options

Answer selected by tomtau
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