Packages icon indicating copy to clipboard operation
Packages copied to clipboard

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

Open ratijas opened this issue 4 years ago • 1 comments

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 avatar Oct 31 '21 13:10 ratijas

dupe? https://github.com/sublimehq/Packages/issues/2890 Oh great. It looks like I can close mine :)

jfcherng avatar Oct 31 '21 14:10 jfcherng