KT-11018 Ctrl + Mouse Hover shows a var as val

#KT-11018 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-02-12 15:00:55 +03:00
parent c9f26de9f5
commit 4cd7193047
360 changed files with 447 additions and 424 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
fun some(<caret>f: (Int) -> String) : String? = null
//INFO: <b>value-parameter</b> <b>val</b> f: (Int) &rarr; String <i>defined in</i> some
//INFO: <b>value-parameter</b> f: (Int) &rarr; String <i>defined in</i> some
@@ -0,0 +1,7 @@
class C(var v: Int) {
fun foo() {
print(<caret>v)
}
}
//INFO: <b>public</b> <b>final</b> <b>var</b> v: Int <i>defined in</i> C