Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/crystal/semantic/call_error.cr
Original file line number Diff line number Diff line change
@@ -419,10 +419,6 @@ class Crystal::Call

str << arg.name

if arg_default = arg.default_value
str << " = "
str << arg.default_value
end
if arg_type = arg.type?
str << " : "
str << arg_type
@@ -443,6 +439,10 @@ class Crystal::Call
end
end
end
if arg_default = arg.default_value
str << " = "
str << arg.default_value
end
printed = true
end

0 comments on commit aa1d7f2

Please sign in to comment.