Support formatting of 'where' clauses

#KT-14083 Fixed
This commit is contained in:
Dmitry Jemerov
2017-07-18 18:49:36 +02:00
parent 325e950bfe
commit 7555bb6c3c
4 changed files with 39 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
abstract class RustNavigationContributorBase<T> protected constructor(
private val indexKey: StubIndexKey<String, T>,
private val clazz: Class<T>
) : ChooseByNameContributor, GotoClassContributor
where T : NavigationItem,
T : RustNamedElement {
}
fun <T> foo()
where T : NavigationItem,
T : RustNamedElement {
}
+12
View File
@@ -0,0 +1,12 @@
abstract class RustNavigationContributorBase<T> protected constructor(
private val indexKey: StubIndexKey<String, T>,
private val clazz: Class<T>
) : ChooseByNameContributor, GotoClassContributor
where T : NavigationItem,
T : RustNamedElement {
}
fun <T> foo()
where T : NavigationItem,
T : RustNamedElement {
}