We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4424a0f commit 9d0c73cCopy full SHA for 9d0c73c
d2ast/d2ast.go
@@ -404,7 +404,7 @@ func (s *SingleQuotedString) scalar() {}
404
func (s *BlockString) scalar() {}
405
406
// TODO: mistake, move into parse.go
407
-func (n *Null) ScalarString() string { return n.Type() }
+func (n *Null) ScalarString() string { return "" }
408
func (b *Boolean) ScalarString() string { return strconv.FormatBool(b.Value) }
409
func (n *Number) ScalarString() string { return n.Raw }
410
func (s *UnquotedString) ScalarString() string {
0 commit comments