Use correct function to find header for impl in IDE
Also do not call isHeader/isImpl because the returned declarations are guaranteed to be isHeader in findCompatibleHeaderForImpl and isImpl in findCompatibleImplForHeader
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
impl class <lineMarker>Header</lineMarker> {
|
||||
impl fun foo() = 42
|
||||
impl fun <lineMarker>foo</lineMarker>() = 42
|
||||
}
|
||||
|
||||
impl fun <lineMarker>foo</lineMarker>(arg: Int) = arg.toString()
|
||||
|
||||
Reference in New Issue
Block a user