Skip to content

Commit

Permalink
Merge pull request #11118 from protocolbuffers/deannagarcia-patch-12
Browse files Browse the repository at this point in the history
Add "public" modifier to Kotlin generated code
  • Loading branch information
deannagarcia authored Dec 1, 2022
2 parents 782c772 + 9b37daf commit d024e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/java/map_field.cc
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ void ImmutableMapFieldGenerator::GenerateKotlinDslMembers(
variables_,
"@kotlin.jvm.JvmSynthetic\n"
"@JvmName(\"clear$kt_capitalized_name$\")\n"
"fun com.google.protobuf.kotlin.DslMap"
"public fun com.google.protobuf.kotlin.DslMap"
"<$kt_key_type$, $kt_value_type$, ${$$kt_capitalized_name$Proxy$}$>\n"
" .clear() {\n"
" $kt_dsl_builder$.${$clear$capitalized_name$$}$()\n"
Expand Down

0 comments on commit d024e3b

Please sign in to comment.