Commit 2b049be
authored
Improved handling of typealiases (#106)
* Improved handling of typealiases
* Improved documentation and adjusted tests
* Avoid catching Throwable in typealias expansion
* Fix typealias & function-type detection in stability analyzer
* Fixed typo in Immutable collection name detection
* Corrected arrow detection
* Improved resolutions of typealiases in other files, classes, objects or modules
* Fix false runtime-stability warnings in K2 when @composable typealiases resolve to ComposableFunctionN
* Added safeguard against StackOverflowError during analysis of complex types
* Corrected imports in tests
* Added guard for simple-name function fallback
* Rolled back broad exception handling in ktStabilityOfInternal, now checking only for Stack Overflow1 parent 87f2762 commit 2b049be
8 files changed
Lines changed: 1296 additions & 27 deletions
File tree
- compose-stability-analyzer-idea/src
- main/kotlin/com/skydoves/compose/stability/idea
- k2
- test/kotlin/com/skydoves/compose/stability/idea
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
| |||
267 | 274 | | |
268 | 275 | | |
269 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
270 | 283 | | |
271 | 284 | | |
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
275 | 288 | | |
276 | | - | |
| 289 | + | |
| 290 | + | |
277 | 291 | | |
278 | 292 | | |
0 commit comments