Check wrong cases
nbirillo opened this issue · 1 comments
nbirillo commented
These cases have errors for the current version with bytecode. We need to check them in the current version, also add tests for them
- Function:
fun foo(): Boolean {
println("public second example foo")
return true
}
Query:
SmartReflekt.functions<() -> Boolean>().filter { it.isTopLevel && it.name == "foo" }.resolve()
- Function:
fun <T> foo(): List<T>
Query:
SmartReflekt.functions<Function0<List<*>>>().filter { it.isTopLevel && it.name == "foo" }.resolve()
- Enum case