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

Deprecate public aliases for Regex, StaticRegex, etc #5964

Closed
wants to merge 2 commits into from

Commits on Dec 25, 2017

  1. Deprecate public aliases for Regex, StaticRegex

    As per the discussion at dlang#5963, we
    want the option to swap out the types for Regex, Capture, etc. This
    is impossible if people are able to refer to Regex by name.
    Furthermore, according to @wilzbach, aliases are not an option.
    Therefore, this PR deprecates public uses of the Regex types to allow
    us to switch out the concrete type later.
    dhasenan committed Dec 25, 2017
    Configuration menu
    Copy the full SHA
    1169a4f View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2017

  1. Move documentation to appropriate places.

    Since it's apparently better to document the entire interface of your
    return types than to use static typing to direct people to the type's
    own documentation, this ensures that that documentation is complete.
    dhasenan committed Dec 30, 2017
    Configuration menu
    Copy the full SHA
    0039ca2 View commit details
    Browse the repository at this point in the history