[FIR] Fix Substitution scope key to avoid accidental matches

This commit is contained in:
Mikhail Glukhikh
2020-10-28 11:53:51 +03:00
committed by teamcityserver
parent 2dc6467b5d
commit 60141ccbaa
6 changed files with 362 additions and 2 deletions
@@ -0,0 +1,18 @@
// FILE: Foo.java
import java.util.Set;
public class Foo {
public interface A extends Set<String> {}
public interface B extends Set<String> {}
}
// FILE: DelegationAndInheritanceFromJava.kt
import Foo.*
import java.util.HashSet
class Impl(b: B): A, B by b
fun box() = "OK"