Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix illegal chars getting generated into function names. #234

Merged
merged 2 commits into from May 3, 2022

Conversation

rossbacher
Copy link
Contributor

Illegal chars might get generated into function names which compile in Kotlin but are not allowed in dex and will lead to build errors.

… Kotlin but are not allowed in dex and will lead to build errors.
Copy link
Collaborator

@vinaygaba vinaygaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! You will need to update the tests as well. You can toggle this boolean and then run it locally to update the test sources - https://github.com/airbnb/Showkase/blob/master/showkase-processor-testing/src/test/java/com/airbnb/android/showkase_processor_testing/BaseProcessorTest.kt#L18

@rossbacher
Copy link
Contributor Author

Will do that in a bit!

LGTM! You will need to update the tests as well. You can toggle this boolean and then run it locally to update the test sources - https://github.com/airbnb/Showkase/blob/master/showkase-processor-testing/src/test/java/com/airbnb/android/showkase_processor_testing/BaseProcessorTest.kt#L18

Will that that in a bit, thx!

@rossbacher
Copy link
Contributor Author

Will do that in a bit!

LGTM! You will need to update the tests as well. You can toggle this boolean and then run it locally to update the test sources - https://github.com/airbnb/Showkase/blob/master/showkase-processor-testing/src/test/java/com/airbnb/android/showkase_processor_testing/BaseProcessorTest.kt#L18

Will that that in a bit, thx!

@vinaygaba done, can you have one more look if that is ok that way?

Copy link
Collaborator

@vinaygaba vinaygaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rossbacher Since this impacts only the generated code, this is an acceptable way to name the functions!

@rossbacher rossbacher merged commit 24e4a1b into master May 3, 2022
@rossbacher rossbacher deleted the fixIllegalCharsGettingGeneratedIntoFuntionNames branch May 3, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants