Files
swift-mirror/test/Macros/macro_expand_peers.swift
Doug Gregor bcf2371d31 Insert member-attribute macros right before modifiers
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.
2024-01-05 18:02:03 -08:00

8.6 KiB