Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arg_parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func stringParser(ctx context.Context, scope types.Scope,
// Convert integer things to what they normally would look
// like as a string
case uint64, int64, uint32, int32, uint16,
int16, uint8, int8, float64, float32:
int16, uint8, int8, float64, float32, int:
return fmt.Sprintf("%v", arg), nil

default:
Expand Down
1 change: 1 addition & 0 deletions visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func NewVisitor(scope types.Scope, options FormatOptions) *Visitor {
// Merge results from the in visitor to this visitor.
func (self *Visitor) merge(in *Visitor) {
self.Fragments = append([]string{}, in.Fragments...)
self.CallSites = append(self.CallSites, in.CallSites...)
self.line_breaks = in.line_breaks
self.indents = append([]int{}, in.indents...)
self.pos = in.pos
Expand Down