Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f3149d

Browse files
committed
Python: Fix error after merge conflict
1 parent e7fdfd3 commit 4f3149d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ql/src/Statements/StatementNoEffect.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ predicate side_effecting_descriptor_type(ClassValue descriptor) {
4242
* we want to treat them as having no effect.
4343
*/
4444

45-
not descriptor = ClassValue::function() and
45+
not descriptor = ClassValue::functionType() and
4646
not descriptor = ClassValue::staticmethod() and
4747
not descriptor = ClassValue::classmethod()
4848
}

0 commit comments

Comments
 (0)