Add support for ObjCEnum.EntryName#5683
Add support for ObjCEnum.EntryName#5683stefanhaustein wants to merge 1 commit intoJetBrains:masterfrom
Conversation
.../objcexport-header-generator/testData/headers/enumClassWithObjCEnumAndRenamedLiterals/Foo.kt
Outdated
Show resolved
Hide resolved
...a/headers/enumClassWithObjCEnumAndRenamedLiterals/!enumClassWithObjCEnumAndRenamedLiterals.h
Outdated
Show resolved
Hide resolved
...eader-generator/impl/k1/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt
Show resolved
Hide resolved
...-generator/impl/k1/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslator.kt
Outdated
Show resolved
Hide resolved
SvyatoslavScherbina
left a comment
There was a problem hiding this comment.
Everything else LGTM.
Please also squash the commits and write a commit message following the guideline: https://github.com/JetBrains/kotlin/blob/master/docs/code_authoring_and_core_review.md#commit-messages-and-yt-tickets
...eader-generator/impl/k1/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt
Outdated
Show resolved
Hide resolved
Code Owners
|
|
/test-public |
|
You also need to run the "Test: public API binary compatibility validator w/Native, overwrite results" run configuration from IDEA, or ./gradlew :tools:binary-compatibility-validator:cleanTest :tools:binary-compatibility-validator:test --tests '*' -Poverwrite.output=true -Pkotlin.native.enabled=truein the terminal. |
Do you have a recommendation / pointer for the best way to squash / how you typically do this?
|
SvyatoslavScherbina
left a comment
There was a problem hiding this comment.
Everything else LGTM. Please also squash the commits and write a commit message following the guideline: https://github.com/JetBrains/kotlin/blob/master/docs/code_authoring_and_core_review.md#commit-messages-and-yt-tickets
Do you have a recommendation / pointer for the best way to squash / how you typically do this?
With git rebase -i.
- I have tried
git rebase -i HEAD~6, but it gave me a list of hundreds of commits. I tried to nope out but I am slightly concerned I might have put my client into a bad state
I guess it happened because you merged from the upstream instead of rebasing to it.
To remove merge commits, you can rebase to the upstream.
|
/test-public |
c51a89d to
39f1623
Compare
…y of the (translated) names for the regular enum transpilation. The entry names are supplied via @ObjCEnum.EntryName. This amends [KT-48068], simplifying migrations where compatibility needs to be ensure for legacy code ported to kotlin.
39f1623 to
126b073
Compare
This should be done now |
SvyatoslavScherbina
left a comment
There was a problem hiding this comment.
/test-public
|
/test-public |
Allowing NSEnum-specific names, simplifying compatibility when porting code to Kotlin
This is a refinement for https://youtrack.jetbrains.com/issue/KT-48068/