ASTPrinter: Fix printing of let properties inside @objc @implementation extensions

A `let` here is really just a `var` with a `{ get }`.

Fixes rdar://problem/127120469.
This commit is contained in:
Slava Pestov
2025-06-05 22:52:46 -04:00
parent c61a4fe333
commit 0b3fd9eede
3 changed files with 15 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
- (nonnull instancetype)init;
@property (readonly) int letProperty1;
@property (assign) int implProperty;
- (void)mainMethod:(int)param;