mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Kotlin: Add FP test case for non serializable field query
This commit is contained in:
@@ -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. |
|
||||
@@ -0,0 +1 @@
|
||||
Likely Bugs/Serialization/NonSerializableField.ql
|
||||
@@ -0,0 +1,4 @@
|
||||
class Foo {
|
||||
fun f(i: Int) {}
|
||||
fun g(i: Int) { (this::f)(i) }
|
||||
}
|
||||
Reference in New Issue
Block a user