Bug 575491 - Mismatch when building parameterization map
Summary: Mismatch when building parameterization map
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.9.7   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-18 14:33 EDT by Justin Tullgren CLA
Modified: 2021-08-18 16:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Tullgren CLA 2021-08-18 14:33:47 EDT
Hi, 

This error is popping up when using compiler in a kotlin 1.5.20 project.  The weaver continues on and joinpoints are found and woven but I am not sure of the impact of this error as the compiler logs it.

The log isn't giving me anything else and I don't know what code is causing it.  The Function2 is a functional param for kotlin lambda interop with java.

How can I help debug this? 

Thanks!


kotlin/jvm/functions/Functions.kt [error] Mismatch when building parameterization map. For type 'Pkotlin/jvm/functions/Function2<Ljava/lang/Object;Lkotlin/Unit;>;' expecting 3:[P1 P2 R] type parameters but found 2:[Ljava/lang/Object; Lkotlin/Unit;]
	
see also: kotlin/jvm/functions/Functions.kt::0
Comment 1 Justin Tullgren CLA 2021-08-18 14:36:37 EDT
Not sure this helps at all but this is the source file:

https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/jvm/functions/Functions.kt