mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The insertion position of member-attribute macros was right before the first attribute. However, ASTScope would visit the as-written attributes first, so the scope tree entries would be out of order, causing name lookup to fail. Move the insertion position to where a new modifier would go, i.e., after the explicitly-written attributes. Fixes rdar://120496864.
8.6 KiB
8.6 KiB