p-x9 / AssociatedObject

🔗 Swift Macro for allowing variable declarations even in class extensions
MIT License
130 stars 4 forks source link

Fixed associated object key issues in release builds #40

Closed p-x9 closed 7 months ago

p-x9 commented 7 months ago

39

In the release build, there was a problem with duplicate keys due to inline expansion of functions. Fixed to use function pointers to ensure uniqueness