mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
PY-74231 Fix false positive "Statement expected, found Py:DEDENT" for a nested type alias
GitOrigin-RevId: 03d64abe2c949a5912eb5c16ef48a5149568d66f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f492127fc
commit
b934cfe38a
@@ -147,6 +147,7 @@ public class StatementParsing extends Parsing implements ITokenTypeRemapper {
|
||||
parseTypeParameterList();
|
||||
checkMatches(PyTokenTypes.EQ, PyParsingBundle.message("PARSE.eq.expected"));
|
||||
myContext.getExpressionParser().parseExpression();
|
||||
checkEndOfStatement();
|
||||
mark.done(PyElementTypes.TYPE_ALIAS_STATEMENT);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user