Skip to content

Commit

Permalink
Add “not_nil!
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Feb 14, 2025
1 parent 6a956cc commit 19ed800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/command/eval.cr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Crystal::Command
program_source = STDIN.gets_to_end
end

sources = [Compiler::Source.new("eval", program_source)]
sources = [Compiler::Source.new("eval", program_source.not_nil!)]

output_filename = Crystal.temp_executable "eval"

Expand Down

0 comments on commit 19ed800

Please sign in to comment.