-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove error checks for mixing up PEG rule and Rust value arguments
When a rule with PEG rule closure arguments is recursive, it can be useful to pass down the rule argument as a value, since re-capturing it results in a type-length limit error from rustc. (#226) Rustc's type error if you do pass the wrong type isn't as good as the custom one, but isn't too bad.
- Loading branch information
1 parent
2dacb48
commit 1071e80
Showing
3 changed files
with
2 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters