Commit 2a67c65
committed
[Property Wrappers] Generalize a few property wrapper decl context
checks to check for type context instead of local context.
This generalization will help us implement property wrappers on
global variables, which should use the same approach of not adding
synthesized accessors to the AST and instead lazily visit them in
SILGen.1 parent 21cbdfa commit 2a67c65
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5957 | 5957 | | |
5958 | 5958 | | |
5959 | 5959 | | |
5960 | | - | |
| 5960 | + | |
5961 | 5961 | | |
5962 | 5962 | | |
5963 | 5963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| |||
0 commit comments