File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
swift/ql/lib/codeql/swift/elements/expr Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ private import codeql.swift.elements.decl.Initializer
5
5
final private class InitializerLookupExprImpl extends Impl:: MethodLookupExpr {
6
6
InitializerLookupExprImpl ( ) { super .getMethod ( ) instanceof Initializer }
7
7
8
- override string toStringImpl ( ) { result = this .getMember ( ) .toString ( ) }
8
+ override string toStringImpl ( ) { result = this .getMember ( ) .toStringImpl ( ) }
9
9
}
10
10
11
11
final class InitializerLookupExpr extends MethodLookupExpr , InitializerLookupExprImpl {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module Impl {
48
48
49
49
override Expr getQualifier ( ) { result = expr .getQualifier ( ) }
50
50
51
- override string toStringImpl ( ) { result = "call to " + expr }
51
+ override string toStringImpl ( ) { result = "call to " + expr . toStringImpl ( ) }
52
52
}
53
53
54
54
private class FullDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr {
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ module Impl {
4
4
class ExplicitCastExpr extends Generated:: ExplicitCastExpr {
5
5
override predicate convertsFrom ( Expr e ) { e = this .getImmediateSubExpr ( ) }
6
6
7
- override string toStringImpl ( ) { result = "(" + this .getType ( ) + ") ..." }
7
+ override string toStringImpl ( ) { result = "(" + this .getType ( ) . toStringImpl ( ) + ") ..." }
8
8
}
9
9
}
You can’t perform that action at this time.
0 commit comments