Fix some line length warnings

This commit is contained in:
Peter Melnichenko
2018-03-17 13:34:50 +03:00
parent 3a43d528c6
commit 4d06371a07
3 changed files with 26 additions and 9 deletions

View File

@@ -827,7 +827,8 @@ function ElementState:invoke(alias)
if self.element._overwrite then
self.overwrite = true
else
self:error("%s must be used %s", self.name, bound("time", self.element._mincount, self.element._maxcount, true))
local num_times_repr = bound("time", self.element._mincount, self.element._maxcount, true)
self:error("%s must be used %s", self.name, num_times_repr)
end
else
self.invocations = self.invocations + 1