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

Do not modify a Hash argument to error! #1336

Merged
merged 1 commit into from
Mar 25, 2016

Commits on Mar 25, 2016

  1. Do not modify a Hash argument to error!

    This change allows an immutable hash, for example a frozen constant, to be passed as the message to `error!`.
    
    If the message is a Hash, then it is always duplicated, and any `:with` key is removed from the copy.
    Tim Perkins committed Mar 25, 2016
    Configuration menu
    Copy the full SHA
    7d1c7e1 View commit details
    Browse the repository at this point in the history