remove TODO

This commit is contained in:
Erik Krogh Kristensen
2022-03-10 09:44:29 +01:00
parent 7ca6426ea5
commit 1847a5713b

View File

@@ -178,9 +178,7 @@ class FunctionDef extends Assign {
override string toString() { result = "FunctionDef" }
/** Gets the function for this statement */
Function getDefinedFunction() {
result = f.getInnerScope() // XXX: This behaves very differently. But from inspecting the results of the previous version, that had every function in the same scope as the result.
}
Function getDefinedFunction() { result = f.getInnerScope() }
override Stmt getLastStatement() { result = this.getDefinedFunction().getLastStatement() }
}