-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ast: Don't allow calls in function signatures
Rather than causing a panic calls in function declaration args will now just raise a parse error. In the future we could potentially support them but we would need to sort out some additional details/ambiguity around behavior. Its unclear that any users need this behavior so for now we'll just correct the panic. Fixes: #2081 Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
6436300
commit aee2bd9
Showing
3 changed files
with
103 additions
and
37 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