swift
Move the single-expr return transform from Parse to Sema
#71123
Merged

Move the single-expr return transform from Parse to Sema #71123

hamishknight
hamishknight hamishknight requested a review from hborla hborla 1 year ago
hamishknight hamishknight requested a review from xedin xedin 1 year ago
hamishknight hamishknight requested a review from ahoppen ahoppen 1 year ago
hamishknight hamishknight requested a review from bnbarham bnbarham 1 year ago
hamishknight hamishknight requested a review from rintaro rintaro 1 year ago
hamishknight hamishknight requested a review from CodaFi CodaFi 1 year ago
hamishknight hamishknight requested a review from slavapestov slavapestov 1 year ago
hamishknight hamishknight requested a review from DougGregor DougGregor 1 year ago
hamishknight hamishknight requested a review from tshortli tshortli 1 year ago
hamishknight
hamishknight commented on 2024-01-24
hamishknight hamishknight force pushed 1 year ago
hamishknight
hamishknight commented on 2024-01-25
hamishknight hamishknight force pushed 1 year ago
hamishknight
slavapestov
hamishknight
hamishknight hamishknight force pushed 1 year ago
hamishknight hamishknight force pushed 1 year ago
ahoppen
ahoppen commented on 2024-01-29
xedin
xedin approved these changes on 2024-01-29
hamishknight [CodeComplete] Avoid distinguishing between closure types
b1070f20
hamishknight Move single-expr return transform from Parse to Sema
f4a6b95d
hamishknight [test] Update ASTGen tests for single expression returns
088307f2
hamishknight [IDE] Remove `undoSingleExpressionReturn`
3a822410
hamishknight [AST] Remove `AbstractFunctionDecl::setSingleExpressionBody`
d5a3e363
hamishknight [ASTDumper] Remove special case for single expr functions
840d52f5
hamishknight [AST] Remove `AbstractFunctionDecl::getSingleExpressionBody`
9cf8f5b1
hamishknight [AST] Remove the "single expression body" bit
9b64990d
hamishknight [AST] Introduce UnreachableExpr
0a4c029c
hamishknight Partially revert "[CodeComplete] Avoid distinguishing between closure…
ce43f0d2
hamishknight hamishknight force pushed to ce43f0d2 1 year ago
hamishknight
hamishknight
hamishknight
hamishknight hamishknight merged 27c08b13 into main 1 year ago
hamishknight hamishknight deleted the sema-expr-return branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone