Skip to content

lldb expression inline note prints "note: " twice #130744

@DavidSpickett

Description

@DavidSpickett

With this program:

int main()
{
    const int a = 0;
    return 0;
}

And this expression:

(lldb) p a=10
          ˄
          ╰─ error: cannot assign to variable 'a' with const-qualified type 'const int &'
note: note: variable 'a' declared const here

LLDB prints "note: " then "note: " again.

Also, "here" seems like it would be accompanied by some location but is not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions