Skip to content

Commit

Permalink
Merge branch 'master' into fix_list_name
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-ramon authored Feb 25, 2023
2 parents ec07c50 + d264c4c commit c18e0b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (gt *Object) Name() string {
return gt.PrivateName
}
func (gt *Object) Description() string {
return ""
return gt.PrivateDescription
}
func (gt *Object) String() string {
return gt.PrivateName
Expand Down
4 changes: 2 additions & 2 deletions language/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func Parse(p ParseParams) (*ast.Document, error) {
return doc, nil
}

// TODO: test and expose parseValue as a public
func parseValue(p ParseParams) (ast.Value, error) {
// ParseValue parses params and returns ast value
func ParseValue(p ParseParams) (ast.Value, error) {
var value ast.Value
var sourceObj *source.Source
switch src := p.Source.(type) {
Expand Down

0 comments on commit c18e0b6

Please sign in to comment.