Add tests for obsolete issues
#KT-15913 Obsolete #KT-12248 Obsolete
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// FILE: Context.java
|
||||
|
||||
public interface Context {
|
||||
String BEAN = "context";
|
||||
}
|
||||
|
||||
// FILE: Test.kt
|
||||
|
||||
annotation class Resource(val name: String)
|
||||
|
||||
class MyController {
|
||||
companion object {
|
||||
private const val foo = Context.BEAN
|
||||
}
|
||||
|
||||
@Resource(name = Context.BEAN)
|
||||
fun setContext() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user