PY-43053 Handle Complete Current Statement after a collection at the end of a file

It's weird, however, that Python implementation might query fixers for elements
that are at completely different lines with the caret as in the originally
reported case. This confusing and error-prone behavior needs to be revised
separately.

GitOrigin-RevId: 1f48fe0e0936fb2007022dfc889c44ad32e1eaf0
This commit is contained in:
Mikhail Golubev
2020-06-18 19:03:23 +03:00
committed by intellij-monorepo-bot
parent 62a91a1a1f
commit 13afc2cbfb
6 changed files with 25 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
@(lambda: [lambda x: x][0])()
def foo()<caret>

View File

@@ -0,0 +1,3 @@
@(lambda: [lambda x: x][0])()
def foo():
<caret>

View File

@@ -0,0 +1,3 @@
xs = [
] <caret>

View File

@@ -0,0 +1,4 @@
xs = [
]
<caret>