Support Kotlin null safety #1257
Labels
comp-codegen
Issue is related to code generator
comp-symbolic-engine
Issue is related to the symbolic execution engine
ctg-bug
Issue is a bug
lang-kotlin
Issue is related to Kotlin language support
Description
We have to properly handle Kotlin nullable and not-nullable types to produce correct tests:
null
?.
and!!
in generated files where it is needed.There were some attempts to support this, but this is only partially supported currently.
To Reproduce
There are many cases where behavior is incorrect. For example, launch action on the following class:
Expected behavior
Correct tests are generated.
Actual behavior
Among others, the following test is generated:
Additional context
This is an old big issue, which may be solved step by step.
The text was updated successfully, but these errors were encountered: