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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ff4a6056ef70
Choose a base ref
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9ac27a0a1f36
Choose a head ref
  • 7 commits
  • 144 files changed
  • 1 contributor

Commits on May 8, 2016

  1. Parser: fixed parsing of as followed by a method, in &.. Also par…

    …se `as(...)` the same as `self.as(...)`.
    Ary Borenszweig committed May 8, 2016

    Verified

    This commit was signed with the committer’s verified signature.
    rasendubi Oleksii Shmalko
    Copy the full SHA
    39ab1e7 View commit details
  2. Updated code to use the new as syntax

    Ary Borenszweig committed May 8, 2016
    Copy the full SHA
    d3d6ecd View commit details
  3. Copy the full SHA
    2a7f8ec View commit details
  4. Compiler specs: refactors for shorter, cleaner code

    Ary Borenszweig committed May 8, 2016
    Copy the full SHA
    61e39fa View commit details
  5. Std: removed method definitions for '!' and 'nil?', as these are no l…

    …onger defineable methods
    Ary Borenszweig committed May 8, 2016
    Copy the full SHA
    885112b View commit details
  6. Parser: give syntax error when trying to define a method whose name i…

    …s '!', 'is_a?', 'as', 'responds_to?' or 'nil?'
    Ary Borenszweig committed May 8, 2016
    Copy the full SHA
    11bb7cb View commit details
  7. Added as? pseudo-method.

    `as?` is similar to `as`, except that `nil` is returned when the expression is not of the given type.
    Another difference is that `as` can be used to cast from/to pointers in an unsafe way, or
    to simply cast between pointer types, while `as?` doesn't do that.
    Ary Borenszweig committed May 8, 2016
    Copy the full SHA
    9ac27a0 View commit details
Loading