Skip to content

Commit 57877bb

Browse files
committed
Add default value to js_code_binary_version in js.proto
By default, assume the version is 1.0.0
1 parent a03ed6f commit 57877bb

File tree

3 files changed

+84
-84
lines changed

3 files changed

+84
-84
lines changed

build-common/test/org/jetbrains/kotlin/serialization/js/DebugJsProtoBuf.java

Lines changed: 71 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/js.serializer/src/js.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ message Header {
2828
optional int32 flags = 1;
2929

3030
// (patch << 16) + (minor << 8) + major
31-
optional int32 js_code_binary_version = 2;
31+
optional int32 js_code_binary_version = 2 [default = 1];
3232

3333
optional string package_fq_name = 3;
3434
}

js/js.serializer/src/org/jetbrains/kotlin/serialization/js/JsProtoBuf.java

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)