Skip to content

Comments on type aliases should be marked as comments #38

@tanishiking

Description

@tanishiking

Line or block comments at the same line on type aliases aren't recognized as a comment.

type my-type = i32; // comment
Image

As I mention in #36 result type has a special handling, but other types doesn't.

> type t5 = result<_, errno> // no "ok" type

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