Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: crystal-lang/crystal
base: ced58fcf4492
Choose a base ref
...
head repository: crystal-lang/crystal
compare: db04539eaa41
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Feb 14, 2017

  1. Copy the full SHA
    2d9a2f4 View commit details
    Browse the repository at this point in the history
  2. Set: rename merge! to concat

    Right now Set behaves like an Array without duplicates and it has almost the same set of methods as Array. It also has `merge!` where in Array it's called `concat`, so switching an object from Array to Set will cause compile errors. This makes the code easier to refactor. Besides, `merge` exists in Hash-like types, not in Array-like types.
    asterite committed Feb 14, 2017
    Copy the full SHA
    db04539 View commit details
    Browse the repository at this point in the history