-
Notifications
You must be signed in to change notification settings - Fork 102
switch to custom compose compiler due to CMP-7505 #2293
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
Conversation
remove gradle repos, ExperimentalMaterial removal
|
|
||
| // Create configuration that we'll use to load Compose compiler plugin | ||
| val configuration = project.configurations.create(COMPILER_PLUGIN_CONFIGURATION) | ||
| // Add Compose compiler plugin to kotlinPlugin configuration, making sure it works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release Notes
N/A
As we fix a bug, it should contain "Fixes - Multiplatform" "Fix IrLinkageError: Function can not be called: No function found for symbol"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated description
| // Create configuration that we'll use to load Compose compiler plugin | ||
| val configuration = project.configurations.create(COMPILER_PLUGIN_CONFIGURATION) | ||
| // Add Compose compiler plugin to kotlinPlugin configuration, making sure it works | ||
| // for Playground builds as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An open thread until comments from #2290 are resolved
| handler.maven { | ||
| url("https://storage.googleapis.com/r8-releases/raw") | ||
| content { | ||
| includeModule("com.android.tools", "r8") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A QA should be added only for reviewing cherry-pick PRs
patched compiler plugin generates additional stubs (1 or 2) for every `@Composable` function that has at least one default parameter for value class <A> internal/private constructor(baseVal: ...) (internal/private constructor is important) for every such default argument we are creating stubs where those args are marked nullable, thats where new public api comes from: one old function could be topped with one or two similarly-looking stubs in some later kotlin/compose version we would leave only one "right" signature (with deprecation cycle), but currently that approach is the only one that preserves compatibility Fixes [CMP-7505](https://youtrack.jetbrains.com/issue/CMP-7505) manual testing + test in compose compiler tests This should be tested by QA - Fix IrLinkageError: Function can not be called: No function found for symbol ([CMP-7505](https://youtrack.jetbrains.com/issue/CMP-7505)).
apidump update + remove ExperimentalMaterial3ExpressiveApi
This reverts commit d480514.
This reverts commit d480514.
This reverts commit d480514.
This reverts commit d480514.
This reverts commit d480514.
This reverts commit d480514.
This reverts commit d480514.
patched compiler plugin generates additional stubs (1 or 2) for every `@Composable` function that has at least one default parameter for value class <A> internal/private constructor(baseVal: ...) (internal/private constructor is important) for every such default argument we are creating stubs where those args are marked nullable, thats where new public api comes from: one old function could be topped with one or two similarly-looking stubs in some later kotlin/compose version we would leave only one "right" signature (with deprecation cycle), but currently that approach is the only one that preserves compatibility Fixes [CMP-7505](https://youtrack.jetbrains.com/issue/CMP-7505) manual testing + test in compose compiler tests This should be tested by QA - Fix IrLinkageError: Function can not be called: No function found for symbol ([CMP-7505](https://youtrack.jetbrains.com/issue/CMP-7505)).
patched compiler plugin generates additional stubs (1 or 2) for every
@Composablefunction that has at least one default parameter for value class internal/private constructor(baseVal: ...) (internal/private constructor is important)for every such default argument we are creating stubs where those args are marked nullable, thats where new public api comes from: one old function could be topped with one or two similarly-looking stubs
in some later kotlin/compose version we would leave only one "right" signature (with deprecation cycle), but currently that approach is the only one that preserves compatibility
Fixes CMP-7505
Testing
manual testing + test in compose compiler tests
This should be tested by QA
Release Notes
Fixes - Multiple Platforms