Files
codeql/swift/ql/test/library-tests/hidden-ast/chained_conversion.swift
Paolo Tranquilli de03bdc235 Swift: fix hidden AST getters
For consistency with the C/C++ QL library, getters of AST elements
within the hidden AST should not themselves skip other hidden AST
elements.
2023-05-22 09:57:48 +02:00

4 lines
53 B
Swift

func foo(x: inout Int) -> Int? {
return x.self
}