Skip to content

Commit 5cd9110

Browse files
asgerfCopilot
andauthored
Fix type inference logic in TypeInference.qll
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a89c40a commit 5cd9110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎unified/ql/lib/codeql/unified/internal/typeinference/TypeInference.qll‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ predicate inferTypeUnique = M3::inferTypeUnique/2;
868868
predicate inferTypeCertain = M3::inferTypeCertain/2;
869869

870870
Type inferVariableType(LocalVariable variable) {
871-
result = Input3::inferTypeFromVariable(variable, _)
871+
result = Input3::inferTypeFromVariable(variable, TypePath::nil())
872872
}
873873

874874
Type inferBaseType(MemberAccess access) {

0 commit comments

Comments
 (0)