fix Crystal nightly

This commit is contained in:
Anton Maminov 2021-01-16 20:42:27 +02:00
parent bedf3a68d7
commit 6f0f8352f9
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module Ameba
getter issues = [] of Issue
# Adds a new issue to the list of issues.
def add_issue(rule, location, end_location, message, status = nil)
def add_issue(rule, location : Crystal::Location?, end_location : Crystal::Location?, message, status = nil)
status ||= :disabled if location_disabled?(location, rule)
issues << Issue.new rule, location, end_location, message, status
end