Comments (5)
Per discussion offline, let's
- check whether there's anything in the language spec, and
- align the naming for source and libs.
from ksp.
does this impact any of your use cases? I think the name itself is not well defined in spec, therefore this is an either way works case, let me know if you have code that directly depends on the name of this setter parameter.
from ksp.
Ah, in XProcessing we keep the parameter name user defined and change it to "p0" if we see "<set-?>" as it's not valid in source. With this change this logic doesn't work anymore because we don't know if "value" is user-defined or not. Or is there other ways to tell?
from ksp.
you can check on the origin of the KSValueParameter
of the property setter, I got the following output from your repro, does this help?
SYNTHETIC
KOTLIN_LIB
from ksp.
Yes, checking the origin as well as consistent names both work for us. Thanks!
from ksp.
Related Issues (20)
- KSP2: default annotation arguments no longer work in 1.0.21 HOT 6
- [KSP2] Class literal annotation default values resolve to error types
- `NoSuchMethodError` when running KSP2 with Dagger (KSP 2.0.0-1.0.21) HOT 1
- KSP not picking up generated code from sqldelight HOT 3
- [KSP2] Updated Debugging Steps
- Error types in annotation array properties are omitted from the array.
- KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency HOT 1
- [KSP2] Comparing KSType leads to exception
- [KSP2] KSFunctionDeclaration.asMemberOf does not return correct types
- Kotlin 2.0.0 - Typealias declaration is target type when typealias is a Composable function in a different module HOT 1
- Out of memory errors while migrating from kapt to ksp HOT 2
- [KSP2] Type arg becomes '*' after calling KSType.replace() with an error type HOT 2
- Feature request: publish a BOM artifact
- [KSP2] The string representation of an enum element does not include the package name
- getting null pointer exception
- [KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments HOT 3
- [KSP2] Class values in type annotations get resolved to error type
- [KSP2] The status was unresolved for FirSimpleFunctionImpl HOT 1
- [KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results
- Generated files not accesible after upgrade to kotlin 2.0.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksp.