Create from usage: Removed quickfix for NO_CLASS_OBJECT.

This commit is contained in:
Jack Zhou
2013-05-01 17:28:06 -04:00
parent b7fe134b61
commit c7c8c096f7
8 changed files with 1 additions and 140 deletions
@@ -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>()
}