FIR IDE: introduce delegated symbol origin
This commit is contained in:
@@ -55,4 +55,15 @@ enum class KtSymbolOrigin {
|
||||
* The intersection of functions A.foo & B.foo will create a function C.foo which will be marked with [INTERSECTION_OVERRIDE]
|
||||
*/
|
||||
INTERSECTION_OVERRIDE,
|
||||
|
||||
/**
|
||||
* Member symbol which was generated by compiler when using `by` interface delegation
|
||||
* e.g,
|
||||
* ```
|
||||
* interface A { fun x() }
|
||||
* class B(a: A) : A by a
|
||||
* ```
|
||||
* the `B.foo` function will be generated by Kotlin compiler
|
||||
*/
|
||||
DELEGATED,
|
||||
}
|
||||
Reference in New Issue
Block a user