swift
[TypeChecker] Type wrappers (experimental feature)
#60345
Merged

[TypeChecker] Type wrappers (experimental feature) #60345

xedin merged 27 commits into swiftlang:main from xedin:type-wrappers
xedin
xedin xedin requested a review from hborla hborla 3 years ago
LucianoPAlmeida
xedin
xedin
LucianoPAlmeida
xedin
LucianoPAlmeida
xedin xedin force pushed 3 years ago
xedin
xedin xedin force pushed 3 years ago
xedin
xedin xedin force pushed 3 years ago
xedin
xedin xedin force pushed 3 years ago
xedin
xedin
xedin
xedin xedin force pushed 3 years ago
xedin
xedin
xedin xedin force pushed 3 years ago
xedin xedin force pushed 3 years ago
xedin [AST] Add a new `@typeWrapper` attribute
38765fbd
xedin [AST] Add a way to check whether type has a type wrapper
69d80dc7
xedin [AST] Add a way to obtain a type of type wrapper
eb51a115
xedin [AST] TypeWrappers: Add a way to inject `$Storage` into a type
029d6d7f
xedin [AST] TypeWrappers: Add a request to inject or get `$_storage` property
ccd7e4f0
xedin [AST] TypeWrappers: Add a request to create and get "mirror" type wra…
43feefd5
xedin [TypeChecker] Synthesize getters for stored properties of a type wrap…
3dc441b3
xedin [TypeChecker] Synthesize setters for stored properties of a type wrap…
1e0976b2
xedin [Sema] Don't attempt init synthesis for type wrapped types
0711d774
xedin [AST] TypeWrapper: Turn `VarDecl::isAccessibleViaTypeWrapper()` into …
d50dec41
xedin [TypeChecker] Synthesize initializer for a type wrapped declaration
39f5b69b
xedin [Sema] TypeWrappers: Make sure that type wrapped properties are alway…
a672db9c
xedin [AST] Make it possible to access type wrapper storage of a var
b3ed4d32
xedin [AST] Make it possible to access type wrapper property (storage)
d341c412
xedin [Sema] TypeWrappers: Make sure that synthesized accessors for wrapped…
047f51f1
xedin [TypeChecker] NFC: Add more property wrapper tests
7d28a4fa
xedin [Frontend] Mark 'Type Wrappers' as experimental feature that has to b…
a3b54308
xedin [Sema] TypeWrappers: convert variable init expr into initializer default
39b15662
xedin [Sema] TypeWrappers: Allow wrapping stored properties with attached p…
ecc363d3
xedin [Sema] TypeWrappers/NFC: Move initializer synthesis into a request
20a52d2f
xedin [Sema] Allow implicit parameter decls to have property wrapper attrib…
bf2519ae
xedin [Sema] TypeWrappers: Synthesize init parameters for property wrapped …
0500f355
xedin [TypeWrappers] NFC: Fix type wrapper executable test on Linux
8c0f6e15
xedin [Sema] CodeSynthesis: Extract logic to synthesize a parameter for mem…
5a73b485
xedin [Sema] TypeWrappers: Add unamanged stored properties to the synthesiz…
347e85dd
xedin [Sema] TypeWrappers: Mark `$Storage` struct as `internal`
3aa2bb95
xedin [Sema] TypeWrappers: Mark `$_storage` as `private` and all `$Storage`…
491defb6
xedin xedin force pushed to 491defb6 3 years ago
xedin
xedin xedin merged e22fc3e3 into main 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone