-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Semantic: disallow usage of return/break/next inside ensure (#4486)
* Semantic: refactor control statement inside ensure detection Not use Array for stack and add utility method `with_block_kind`, by #4486 (comment). Correct `return` statement error message to fit other `return` statement messages. * Remove URL from error messages #4486 (comment)
- Loading branch information
1 parent
b14d8c7
commit 9965a9b
Showing
2 changed files
with
231 additions
and
3 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