Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] False-positive: greater-or-equal >= considered as a closing generic bracket #3113

Open
ratijas opened this issue Oct 31, 2021 · 1 comment
Labels
C: Syntax T: bug A bug in an existing language feature

Comments

@ratijas
Copy link
Contributor

ratijas commented Oct 31, 2021

What happened?

Code:

AbstractModel *AppsModel::modelForRow(int row)
{
    if (row < 0 || row >= m_entryList.count()) {
        return nullptr;
    }

    return m_entryList.at(row)->childModel();
}

Rendered:

Sublime Text screenshot

Scope names:

source.c++
meta.function.c++
meta.block.c++
meta.group.c++
punctuation.section.generic.end.c++

Might be a duplicate of #2216

@ratijas ratijas added the T: bug A bug in an existing language feature label Oct 31, 2021
@jfcherng
Copy link
Collaborator

jfcherng commented Oct 31, 2021

dupe? #2890 Oh great. It looks like I can close mine :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Syntax T: bug A bug in an existing language feature
3 participants