Kotlin: Add FP test case for non serializable field query

This commit is contained in:
Tamas Vajk
2022-11-16 15:29:24 +01:00
parent c70f3d35d0
commit a9023d06d0
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1 @@
| NonSerializableFieldTest.kt:3:22:3:28 | <dispatchReceiver> | This field is in a serializable class, but is not serializable itself because Foo is not serializable. |

View File

@@ -0,0 +1 @@
Likely Bugs/Serialization/NonSerializableField.ql

View File

@@ -0,0 +1,4 @@
class Foo {
fun f(i: Int) {}
fun g(i: Int) { (this::f)(i) }
}