File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ module IR {
744
744
745
745
override Type getResultType ( ) {
746
746
exists ( CallExpr c | this .getBase ( ) = evalExprInstruction ( c ) |
747
- result = c .getTarget ( ) .getResultType ( i )
747
+ result = c .getCalleeType ( ) .getResultType ( i )
748
748
)
749
749
or
750
750
exists ( Expr e | this .getBase ( ) = evalExprInstruction ( e ) |
Original file line number Diff line number Diff line change @@ -445,8 +445,8 @@ module Public {
445
445
CallNode getCallNode ( ) { result = call }
446
446
447
447
override Type getType ( ) {
448
- exists ( Function f | f = call .getTarget ( ) |
449
- result = f .getParameterType ( f .getNumParameter ( ) - 1 )
448
+ exists ( SignatureType t | t = call .getCall ( ) . getCalleeType ( ) |
449
+ result = t .getParameterType ( t .getNumParameter ( ) - 1 )
450
450
)
451
451
}
452
452
You can’t perform that action at this time.
0 commit comments