Skip to content

TOML issue: comment lines ending with CRLF causing toml.Null{} to be returned #12345

Description

@Ekopalypse

OS: windows, Microsoft Windows 7 Professional v7601 64-bit
Processor: 4 cpus, 64bit, little endian, Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
CC version: Error: exec failed (CreateProcess) with code 2: The system cannot find the file specified.
cmd: cc --version

getwd: C:\Windows\System32
vmodules: d:\ProgramData\Compiler\v\modules
vroot: D:\ProgramData\Compiler\v
vexe: D:\ProgramData\Compiler\v\v.exe
vexe mtime: 2021-10-30 17:46:00
is vroot writable: true
is vmodules writable: true
V full version: V 0.2.4 ef0eaee.612e742

Git version: git version 2.19.1.windows.1
Git vroot status: weekly.2021.43-52-g612e742c-dirty (5 commit(s) behind V master)
.git/config present: true
thirdparty/tcc status: thirdparty-windows-amd64 0f5168cd

What did you do?

test = 42
# this line ends with CRLF 

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis tag is applied to issues which reports bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions