Extract Function: Do not allow property extraction if return type is Unit
#KT-6017 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// EXTRACT_AS_PROPERTY
|
||||
// SIBLING:
|
||||
fun foo() {
|
||||
<selection>1 + 1</selection>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Can't generate property: 1 + 1
|
||||
Reference in New Issue
Block a user