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
55final private class InitializerLookupExprImpl extends Impl:: MethodLookupExpr {
66 InitializerLookupExprImpl ( ) { super .getMethod ( ) instanceof Initializer }
77
8- override string toStringImpl ( ) { result = this .getMember ( ) .toString ( ) }
8+ override string toStringImpl ( ) { result = this .getMember ( ) .toStringImpl ( ) }
99}
1010
1111final class InitializerLookupExpr extends MethodLookupExpr , InitializerLookupExprImpl {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module Impl {
4848
4949 override Expr getQualifier ( ) { result = expr .getQualifier ( ) }
5050
51- override string toStringImpl ( ) { result = "call to " + expr }
51+ override string toStringImpl ( ) { result = "call to " + expr . toStringImpl ( ) }
5252 }
5353
5454 private class FullDotSyntaxBaseIgnoredApplyExpr extends ApplyExpr {
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ module Impl {
44 class ExplicitCastExpr extends Generated:: ExplicitCastExpr {
55 override predicate convertsFrom ( Expr e ) { e = this .getImmediateSubExpr ( ) }
66
7- override string toStringImpl ( ) { result = "(" + this .getType ( ) + ") ..." }
7+ override string toStringImpl ( ) { result = "(" + this .getType ( ) . toStringImpl ( ) + ") ..." }
88 }
99}
You can’t perform that action at this time.
0 commit comments