Skip to content

Confusing printing of NamedTuple with field with space (var"b c") #42719

@Seelengrab

Description

@Seelengrab
julia> (; a = 1, var"b c" = 2)
(a = 1, b c = 2)

julia> versioninfo()
Julia Version 1.8.0-DEV.779
Commit 6bd0510e13* (2021-10-20 10:27 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviordisplay and printingAesthetics and correctness of printed representations of objects.good first issueIndicates a good issue for first-time contributors to Julia

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions