Skip to content

Commit c18e0b6

Browse files
authored
Merge branch 'master' into fix_list_name
2 parents ec07c50 + d264c4c commit c18e0b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

definition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ func (gt *Object) Name() string {
418418
return gt.PrivateName
419419
}
420420
func (gt *Object) Description() string {
421-
return ""
421+
return gt.PrivateDescription
422422
}
423423
func (gt *Object) String() string {
424424
return gt.PrivateName

language/parser/parser.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ func Parse(p ParseParams) (*ast.Document, error) {
7979
return doc, nil
8080
}
8181

82-
// TODO: test and expose parseValue as a public
83-
func parseValue(p ParseParams) (ast.Value, error) {
82+
// ParseValue parses params and returns ast value
83+
func ParseValue(p ParseParams) (ast.Value, error) {
8484
var value ast.Value
8585
var sourceObj *source.Source
8686
switch src := p.Source.(type) {

0 commit comments

Comments
 (0)