lang: types: Remove unnecessary prefix in generated kinds

This will make displayed errors cleaner.
This commit is contained in:
James Shubin
2019-05-05 09:29:08 -04:00
parent 4de75373dd
commit 310239e707

View File

@@ -34,7 +34,7 @@ var (
TypeVariant = NewType("variant") TypeVariant = NewType("variant")
) )
//go:generate stringer -type=Kind -output=kind_stringer.go //go:generate stringer -type=Kind -trimprefix=Kind -output=kind_stringer.go
// The Kind represents the base type of each value. // The Kind represents the base type of each value.
type Kind int // this used to be called Type type Kind int // this used to be called Type