Create from usage: Removed quickfix for NO_CLASS_OBJECT.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
// "Create class object from usage" "true"
|
||||
// ERROR: Expression 'T' of type '<class-object-for-T>' cannot be invoked as a function
|
||||
trait T {
|
||||
class object {
|
||||
}
|
||||
|
||||
}
|
||||
fun foo() {
|
||||
val x = T()
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// "Create class object from usage" "true"
|
||||
// ERROR: Expression 'T' of type '<class-object-for-T>' cannot be invoked as a function
|
||||
trait T
|
||||
{
|
||||
class object {
|
||||
}
|
||||
}
|
||||
fun foo() {
|
||||
val x = T()
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// "Create class object from usage" "true"
|
||||
// ERROR: Expression 'T' of type '<class-object-for-T>' cannot be invoked as a function
|
||||
trait T {
|
||||
|
||||
}
|
||||
fun foo() {
|
||||
val x = T<caret>()
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// "Create class object from usage" "true"
|
||||
// ERROR: Expression 'T' of type '<class-object-for-T>' cannot be invoked as a function
|
||||
trait T
|
||||
fun foo() {
|
||||
val x = T<caret>()
|
||||
}
|
||||
Reference in New Issue
Block a user