KT-4881 Annotation resolved to package should be compile-time error

#KT-4881 Fixed
This commit is contained in:
Andrey Breslav
2014-12-23 15:18:18 +03:00
parent 8ff5cf62cc
commit 6728a384e4
10 changed files with 70 additions and 13 deletions
+4 -4
View File
@@ -17,7 +17,7 @@ class ComplexSetJsTest : SetJsTest() {
assertEquals(data, set)
}
test override fun constructors() {
Test override fun constructors() {
doTest<String>()
}
@@ -29,7 +29,7 @@ class ComplexSetJsTest : SetJsTest() {
class PrimitiveSetJsTest : SetJsTest() {
override fun createEmptyMutableSet(): MutableSet<String> = HashSet()
override fun createEmptyMutableSetWithNullableValues(): MutableSet<String?> = HashSet()
test override fun constructors() {
Test override fun constructors() {
HashSet<String>()
HashSet<String>(3)
HashSet<String>(3, 0.5f)
@@ -43,7 +43,7 @@ class PrimitiveSetJsTest : SetJsTest() {
class LinkedHashSetTest : SetJsTest() {
override fun createEmptyMutableSet(): MutableSet<String> = LinkedHashSet()
override fun createEmptyMutableSetWithNullableValues(): MutableSet<String?> = LinkedHashSet()
test override fun constructors() {
Test override fun constructors() {
LinkedHashSet<String>()
LinkedHashSet<String>(3)
LinkedHashSet<String>(3, 0.5f)
@@ -186,7 +186,7 @@ abstract class SetJsTest {
}
}
test abstract fun constructors()
abstract fun constructors()
Test fun nullAsValue() {
val set = createEmptyMutableSetWithNullableValues()