mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-83722 Autopopup interferes after new in varargs
This commit is contained in:
@@ -1252,4 +1252,15 @@ class Foo {
|
||||
assert !lookup
|
||||
}
|
||||
|
||||
public void testVarargParenthesis() {
|
||||
myFixture.configureByText 'a.java', '''
|
||||
class Foo {
|
||||
void foo(File... files) { }
|
||||
{ foo(new <caret>) }
|
||||
}
|
||||
'''
|
||||
type 'File('
|
||||
assert myFixture.file.text.contains('new File()')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user