KT-30996: Use the last receiver to complete dsl methods
- change `detectReceiverTypes` return type to `List` instead of `Collection` - it reflects that receiver types are actually ordered - did not propagate signature changes to all possible places because it creates too much noise in git history - ^KT-30996 Fixed
This commit is contained in:
committed by
Roman Golyshev
parent
b2d2ba5811
commit
b422485440
+15
@@ -0,0 +1,15 @@
|
||||
@DslMarker
|
||||
annotation class MyDSL
|
||||
|
||||
@MyDSL
|
||||
class HTML
|
||||
|
||||
@MyDSL
|
||||
fun HTML.foo() { }
|
||||
|
||||
fun HTML.test() {
|
||||
val x = 1
|
||||
x.<caret>
|
||||
}
|
||||
|
||||
// ABSENT: foo
|
||||
Reference in New Issue
Block a user