KT-4881 Annotation resolved to package should be compile-time error
#KT-4881 Fixed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user