You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: joern-cli/frontends/swiftsrc2cpg/src/main/scala/io/joern/swiftsrc2cpg/astcreation/AstForDeclSyntaxCreator.scala
Copy file name to clipboardExpand all lines: joern-cli/frontends/swiftsrc2cpg/src/test/scala/io/joern/swiftsrc2cpg/passes/ast/SimpleAstCreationPassTest.scala
+46-5Lines changed: 46 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -282,10 +282,10 @@ class SimpleAstCreationPassTest extends AstSwiftSrc2CpgSuite {
282
282
|class Foo {
283
283
| let f: String = "b"
284
284
| func foo() -> String {
285
-
| func closure() -> String {
285
+
| func bar() -> String {
286
286
| return handleF(f)
287
287
| }
288
-
| return closure()
288
+
| return bar()
289
289
| }
290
290
|}
291
291
|""".stripMargin)
@@ -297,6 +297,16 @@ class SimpleAstCreationPassTest extends AstSwiftSrc2CpgSuite {
0 commit comments