mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-29 11:31:28 -05:00
Make primitives reasonable
This commit is contained in:
+4
-1
@@ -28,7 +28,10 @@ func (fs String) Ref() ref.Ref {
|
||||
}
|
||||
|
||||
func (s String) Equals(other Value) bool {
|
||||
return other != nil && s.Ref() == other.Ref()
|
||||
if other, ok := other.(String); ok {
|
||||
return s.s == other.s
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (fs String) Chunks() []ref.Ref {
|
||||
|
||||
Reference in New Issue
Block a user