bitPogo / kmock

A humble mocking library for Kotlin, KotlinJS and Kotlin Multiplatform using Kotlin Symbol Processing (KSP).
Apache License 2.0
59 stars 2 forks source link

Fix misaligned returns for Relaxer and Spies #147

Closed bitPogo closed 2 years ago

bitPogo commented 2 years ago

:pushpin: References

What does the PR achieve/Which part improves the PR?

This fixes the issue that spied methods or relaxer causes compiler errors if they use generics as return values. In terms of the spy this caused by multi bounded return value types

:thinking: DOD Checklist

github-actions[bot] commented 2 years ago
Warnings
:warning: Functional changes should be reflected in the CHANGELOG.adoc

Generated by :no_entry_sign: Danger Kotlin against ec9597bb30bebdb76efc46b52afb930e76f7aafe