Skip to content

Commit

Permalink
Merge pull request #55 from cdusovic/master
Browse files Browse the repository at this point in the history
Correct error in literal builder
  • Loading branch information
xllora authored Jul 29, 2016
2 parents d08959a + 2a9c1c4 commit af848d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triple/literal/literal.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (b *unboundBuilder) Build(t Type, v interface{}) (*Literal, error) {
return nil, fmt.Errorf("literal.Build: type %v does not match type of value %v", t, v)
}
default:
return nil, fmt.Errorf("literal.Build: type %v is not supported when building literals", t)
return nil, fmt.Errorf("literal.Build: type %T is not supported when building literals", v)
}
return &Literal{
t: t,
Expand Down

0 comments on commit af848d6

Please sign in to comment.