gohanlon / swift-memberwise-init-macro

Swift Macro for enhanced automatic inits.
MIT License
122 stars 8 forks source link

Fix crash on invalid redeclarations #29

Closed gohanlon closed 12 months ago

gohanlon commented 12 months ago

Fixes #27.

Crash was when encountering invalid Swift code with redeclarations of properties, e.g., let x: Int; let x: Int or let x, x: Int.