-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow reserved Nim keywords as REST params (#15)
This resolves a compilation error when specifying a reserved Nim keyword as a REST parameter. The error was `node lacks field: strVal`, as the corresponding identifiers need backticks embedding, e.g., `` `let` ``, requiring an additional unwrap of `nnkAccQuoted` to get the raw ident.
- Loading branch information
1 parent
89d321b
commit bfcbece
Showing
3 changed files
with
37 additions
and
2 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