Attach preceding line comments to property accessors (KT-25417)

#KT-25417 Fixed
This commit is contained in:
Nikolay Krasko
2018-07-30 14:48:41 +03:00
parent e3462a2999
commit 449069b1b7
5 changed files with 74 additions and 5 deletions
+6
View File
@@ -71,3 +71,9 @@ var prop: Int // Int
set(value) {} // this is setter
val prop2: Int get = 1 // prop2
var prop3: Int // Int
// this comment is for getter
get() = 1
// this comment is for setter
set(value) {}