aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/accessor.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/format/accessor.kt')
-rw-r--r--test/data/format/accessor.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/data/format/accessor.kt b/test/data/format/accessor.kt
index b6ed9624..5a4d1742 100644
--- a/test/data/format/accessor.kt
+++ b/test/data/format/accessor.kt
@@ -1,5 +1,5 @@
class C() {
var x: String
- get() = ""
- set(value) { }
+ /** The getter returns an empty string. */ get() = ""
+ /** The setter does nothing. */ set(value) { }
}