From 2a9c1c43c51781c6b8e4ffbc2629f3af286216f3 Mon Sep 17 00:00:00 2001 From: Christopher Dusovic Date: Wed, 6 Jul 2016 11:30:32 -0700 Subject: [PATCH] Correct error in literal builder --- triple/literal/literal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triple/literal/literal.go b/triple/literal/literal.go index 8852e2bf..ee4a0cde 100644 --- a/triple/literal/literal.go +++ b/triple/literal/literal.go @@ -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,