Skip to content

$ for Option[string] types should double-quote the output #8658

@kaushalmodi

Description

@kaushalmodi

Sample

import options var s: Option[string] echo s s = some("") echo s s = some("abc") echo s

Expected output

None[string] Some("") Some("abc") 

Observed output

None[string] Some() Some(abc) 

Ref

/cc @PMunch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions