mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-04 10:25:17 -06:00
Fix error message in grammar.peg
This commit is contained in:
@@ -38,7 +38,7 @@ Package <- _ dd:Definition+ _ EOF {
|
||||
usings = append(usings, d)
|
||||
case EnumKind, StructKind:
|
||||
if _, present := named[d.Name]; present {
|
||||
return nil, fmt.Errorf("Redefinition of enum " + d.Name)
|
||||
return nil, fmt.Errorf("Redefinition of " + d.Name)
|
||||
}
|
||||
named[d.Name] = d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user