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: ce3492f69d57
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: 6697f175e5fe
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 22, 2017

  1. Travis: don't run in verbose mode

    Ary Borenszweig committed Mar 22, 2017
    Copy the full SHA
    c069957 View commit details
  2. Missing debug wanted check (part of #4166)

    Ary Borenszweig committed Mar 22, 2017
    Copy the full SHA
    6697f17 View commit details
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/ci
  2. +1 −1 src/compiler/crystal/codegen/codegen.cr
4 changes: 2 additions & 2 deletions bin/ci
Original file line number Diff line number Diff line change
@@ -83,8 +83,8 @@ prepare_system() {
}

build() {
with_build_env 'make std_spec clean verbose=1'
with_build_env 'make crystal spec doc verbose=1'
with_build_env 'make std_spec clean'
with_build_env 'make crystal spec doc'
with_build_env 'find samples -name "*.cr" | xargs -L 1 ./bin/crystal build --no-codegen'
with_build_env './bin/crystal tool format --check samples spec src'
}
2 changes: 1 addition & 1 deletion src/compiler/crystal/codegen/codegen.cr
Original file line number Diff line number Diff line change
@@ -373,7 +373,7 @@ module Crystal
with_context(Context.new(context.fun, context.type)) do
file_module = @program.file_module(node.filename)
if vars = file_module.vars?
set_current_debug_location Location.new(node.filename, 1, 1)
set_current_debug_location Location.new(node.filename, 1, 1) if @debug.line_numbers?
alloca_vars vars, file_module

emit_vars_debug_info(vars) if @debug.variables?