diff --git a/idea/testData/checker/Bounds.jet b/idea/testData/checker/Bounds.jet index 87d5cfa1579..8434607edf8 100644 --- a/idea/testData/checker/Bounds.jet +++ b/idea/testData/checker/Bounds.jet @@ -24,17 +24,3 @@ namespace boundsWithSubstitutors { abstract val x : fun (B<Char>) : B<Any> } - -fun test() { - foo<Int?>() - foo() - bar() - bar() - bar<Double?>() - bar<Double>() - 1.buzz<Double>() -} - -fun foo() {} -fun bar() {} -fun Int> Int.buzz() : Unit {} diff --git a/idea/testData/checker/Bounds2.jet b/idea/testData/checker/Bounds2.jet new file mode 100644 index 00000000000..c53d78acb4b --- /dev/null +++ b/idea/testData/checker/Bounds2.jet @@ -0,0 +1,13 @@ +fun test() { + foo<Int?>() + foo() + bar() + bar() + bar<Double?>() + bar<Double>() + 1.buzz<Double>() +} + +fun foo() {} +fun bar() {} +fun Int> Int.buzz() : Unit {}