Static property (mehtod) added by ExtensionMacro is not visible to compiler #68515
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift macro
Feature → declarations: Swift `macro` declarations
Description
When I try to access a static property (function) from another file, I get an error: "Type 'TypeName' has no member 'member'".
Steps to reproduce
Expected behavior
The code compiles without errors.
Environment
Additional context
Swift forum topic
A demo that reproduces this problem
The text was updated successfully, but these errors were encountered: