mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-14 10:09:09 -06:00
Make MakeCompoundType package private (#1304)
And same for MakePrimitiveType. This also makes sure that we return the same primitive type every single time. Fixes #1271
This commit is contained in:
@@ -38,7 +38,7 @@ func (fs String) ChildValues() []Value {
|
||||
return nil
|
||||
}
|
||||
|
||||
var typeForString = MakePrimitiveType(StringKind)
|
||||
var typeForString = StringType
|
||||
|
||||
func (fs String) Type() *Type {
|
||||
return typeForString
|
||||
|
||||
Reference in New Issue
Block a user