Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse tail of block as expression #11293

Closed
Tracked by #11302
kazcw opened this issue Oct 10, 2024 · 0 comments · Fixed by #11364
Closed
Tracked by #11302

Parse tail of block as expression #11293

kazcw opened this issue Oct 10, 2024 · 0 comments · Fixed by #11364
Assignees
Labels

Comments

@kazcw
Copy link
Contributor

kazcw commented Oct 10, 2024

The last line of a block should be treated as an expression context, so that e.g. its top-level expression may be a type ascription (see #7841).

@kazcw kazcw added the -parser label Oct 10, 2024
@kazcw kazcw moved this from ❓New to 🔧 Implementation in Issues Board Oct 18, 2024
@kazcw kazcw linked a pull request Oct 18, 2024 that will close this issue
5 tasks
@mergify mergify bot closed this as completed in #11364 Oct 22, 2024
mergify bot pushed a commit that referenced this issue Oct 22, 2024
Move type-signature lines into `Function` field. Also implements #11293.

Stacked on #11346.
@github-project-automation github-project-automation bot moved this from 🔧 Implementation to 🟢 Accepted in Issues Board Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant