Skip to content

Commit 8e9ff00

Browse files
Internal change
PiperOrigin-RevId: 932460869
1 parent fa20d34 commit 8e9ff00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/reference/kotlin/kotlin-generated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The compiler will generate the following accessors in the DSL:
142142
- `var foo: Int`: The current value of the field. If the field is not set,
143143
returns the default value.
144144
- `fun clearFoo()`: Clears the value of the field. After calling this,
145-
`hasFoo()` will return `false` and `getFoo()` will return the default value.
145+
`hasFoo()` will return `false` and `foo` will return the default value.
146146

147147
For other simple field types, the corresponding Java type is chosen according to
148148
the

0 commit comments

Comments
 (0)