Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect circular macro expansion #2767

Merged
merged 1 commit into from
Aug 9, 2024

Commits on Aug 9, 2024

  1. detect circular macro expansion

    - `MacroApplication` now detects any freestanding macro that appears on an expansion path more than once and throws `MacroExpansionError.recursiveExpansion`
    - added a test case in `ExpressionMacroTests`
    
    rdar://113567654
    Fixes swiftlang#2018
    AppAppWorks committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    6edc2e1 View commit details
    Browse the repository at this point in the history