Skip to content

Commit 21f7828

Browse files
committed
Add mocking classes with constructor parameters warnings to Limitations.mdx
1 parent 0f51773 commit 21f7828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/docs/Limitations.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: Get to know Mokkery's limitations for smoother development!
1010
* ➡️ Functional types
1111
* 🏛️ Final classes with [all-open plugin](./Guides/Mocking#final-classes)
1212
* 🏗️ Abstract/open classes with public constructor and all overridable public members
13+
* 🚨 Kotlin 2.3.0 introduces stricter runtime checks for Kotlin/Native, which break mocking of classes with complex type parameters and may affect support for this feature in future releases. [Read more here.](https://github.com/lupuuss/Mokkery/issues/115)
14+
* 🚨 Kotlin 2.2.20 introduces stricter runtime checks for Koltin/WASM, which break mocking of classes with complex type parameters and may affect support for this feature in future releases. [Read more here.](https://github.com/lupuuss/Mokkery/issues/111)
1315
* ⚠️ Mocking classes whose constructor parameters are accessed within the constructor is **<u>not supported</u>**.\
1416
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1517
Support for this feature might be tracked [here](https://github.com/lupuuss/Mokkery/issues/108).

0 commit comments

Comments
 (0)