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

Change a unittest that test for 'in' => 'const' lowering #213

Merged
merged 1 commit into from
Aug 2, 2020

Commits on Aug 1, 2020

  1. Change a unittest that test for 'in' => 'const' lowering

    As explained in details in dlang/dmd#11000 and dlang/dmd#11474,
    'in' has been for a very long time lowered to simply 'const',
    or 'scope const' when v2.092.0's '-preview=in' switch is used.
    DMD PR 11474 aims to change this, so 'in' is not (visibly)
    lowered, and shows up in any user-visible string.
    This includes header generation, error messages, and stringof.
    Since this code was testing stringof directly, it is affected
    by the change. To support testing of both aforementioned DMD PRs,
    the change is not tied to a version,
    but uses the (soon-to-be) old way as a fallback.
    Geod24 committed Aug 1, 2020
    Configuration menu
    Copy the full SHA
    7bf1131 View commit details
    Browse the repository at this point in the history