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: ab4bed385276
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: 1097270defc3
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 28, 2017

  1. Fix Spelling Mistake in Compiler Documentation

    Fix "Raies" to "Raises" in the compiler documentation.
    Robert James Kaes committed Mar 28, 2017
    Copy the full SHA
    57ab1cf View commit details
  2. Merge pull request #4207 from rjkaes/spelling/crystal-compiler

    Fix Spelling Mistake in Compiler Documentation
    jhass authored Mar 28, 2017
    Copy the full SHA
    1097270 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/compiler/crystal/compiler.cr
4 changes: 2 additions & 2 deletions src/compiler/crystal/compiler.cr
Original file line number Diff line number Diff line change
@@ -128,7 +128,7 @@ module Crystal
# Raises `Crystal::Exception` if there's an error in the
# source code.
#
# Raies `InvalidByteSequenceError` if the source code is not
# Raises `InvalidByteSequenceError` if the source code is not
# valid UTF-8.
def compile(source : Source | Array(Source), output_filename : String) : Result
source = [source] unless source.is_a?(Array)
@@ -149,7 +149,7 @@ module Crystal
# Raises `Crystal::Exception` if there's an error in the
# source code.
#
# Raies `InvalidByteSequenceError` if the source code is not
# Raises `InvalidByteSequenceError` if the source code is not
# valid UTF-8.
def top_level_semantic(source : Source | Array(Source)) : Result
source = [source] unless source.is_a?(Array)