rrn/rd/KT-63270-swift-printer

KT-63270: add swift printing capabilities to SIR

Co-authored-by: Artem Olkov <artem.olkov@jetbrains.com>
Co-authored-by: Sergej Jaskiewicz <jaskiewiczs@icloud.com>


Merge-request: KT-MR-13191
Merged-by: Gleb Lukianets <Gleb.Lukianets@jetbrains.com>
This commit is contained in:
Artem Olkov
2023-11-24 12:53:51 +00:00
committed by Space Team
parent f9933adf5e
commit a040954f68
30 changed files with 533 additions and 46 deletions
@@ -0,0 +1,9 @@
public func foo(
arg1: Swift.Bool,
arg2: Swift.Int8,
arg3: Swift.Int16,
arg4: Swift.Int32,
arg5: Swift.Int64,
arg6: Swift.Double,
arg7: Swift.Float
) -> Swift.Bool { fatalError() }
@@ -0,0 +1 @@
public func foo() -> Swift.Bool { fatalError() }
@@ -0,0 +1,3 @@
public func foo1() -> Swift.Bool { fatalError() }
public func foo2() -> Swift.Bool { fatalError() }
@@ -0,0 +1,3 @@
public func foo(
arg1: Swift.Int32
) -> Swift.Bool { fatalError() }
@@ -0,0 +1,4 @@
public func foo(
arg1: Swift.Int32,
arg2: Swift.Double
) -> Swift.Bool { fatalError() }