diff --git a/Sources/CodeGen/LLVM/Transpilation.swift b/Sources/CodeGen/LLVM/Transpilation.swift index 24ad2e7e5..776d47ea8 100644 --- a/Sources/CodeGen/LLVM/Transpilation.swift +++ b/Sources/CodeGen/LLVM/Transpilation.swift @@ -1,6 +1,6 @@ import Core -import IR import Foundation +import IR import LLVM import Utils @@ -335,7 +335,7 @@ extension LLVM.Module { private mutating func demandMetatype( of t: T, usedIn m: IR.Module, from ir: IR.Program, initializedWith initializeInstance: (inout Self, LLVM.GlobalVariable) -> Void - ) -> LLVM.GlobalVariable{ + ) -> LLVM.GlobalVariable { let globalName = ir.base.mangled(t) if let g = global(named: globalName) { return g } diff --git a/Sources/Core/CompileTimeValues/GenericArguments.swift b/Sources/Core/CompileTimeValues/GenericArguments.swift index 48ba07a40..a850b256e 100644 --- a/Sources/Core/CompileTimeValues/GenericArguments.swift +++ b/Sources/Core/CompileTimeValues/GenericArguments.swift @@ -36,9 +36,10 @@ public struct GenericArguments { public init( skolemizing parameters: S, in ast: AST ) where S.Element == GenericParameterDecl.ID { - self.contents = .init(uniqueKeysWithValues: parameters.map { (p) in - (key: p, value: ^GenericTypeParameterType(p, ast: ast)) - }) + self.contents = .init( + uniqueKeysWithValues: parameters.map { (p) in + (key: p, value: ^GenericTypeParameterType(p, ast: ast)) + }) } /// A collection with the parameters to which arguments are passed.