Skip to content

Commit

Permalink
Swift: fix parameter types in dataflow pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmarsh2 committed Oct 25, 2023
1 parent 825ed30 commit 54605aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ private module ParameterNodes {

override ParamDecl getParameter() { result = param }

override DataFlowType getTypeImpl() { result = param.getType() }
override DataFlowType getTypeImpl() { result = param.getType().getCanonicalType() }
}

class SummaryParameterNode extends ParameterNodeImpl, FlowSummaryNode {
Expand Down

0 comments on commit 54605aa

Please sign in to comment.