Skip to content

Truncated line ending in single-line doc-comment on Windows #315

@beeb

Description

@beeb

I tried this code on Windows (with \r\n line endings):

contract Test {
    /// @notice An enum
    enum TestEnum {
        First,
        Second
    }
}

I expected to see this happen: the DocComment should have a symbol: " @notice An enum\r\n" or maybe symbol: " @notice An enum".

Instead, this happened: symbol: " @notice An enum\r".

Meta

solar --version:

0.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: this is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions