Skip to content

Fix missing type info for ij plugin #570

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

Merged

Conversation

bbrockbernd
Copy link
Collaborator

Typeinfo wasn't always added (for instance atomicfu calls). Now it should be


fun initializeParameterTypes(parameters: List<String>) {
this.parameterTypes = parameters
fun initializeParametersRepresentationAndType(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's rename to initializeParameters and pass parameters: List<String> and parametersTypes: List<String>.
Then, in ManagedStrategy class you can declare extension function MethodCallTracePoint.initializeParameters(parameters: List<Any?>) that will apply necessary string conversions.

@bbrockbernd bbrockbernd requested a review from eupp March 12, 2025 13:38
@lev-serebryakov-jetbrains lev-serebryakov-jetbrains merged commit 0d10007 into develop Mar 12, 2025
20 checks passed
@lev-serebryakov-jetbrains lev-serebryakov-jetbrains deleted the fix-missing-type-info-for-special-calls branch March 12, 2025 18: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.

3 participants