Files
swift-mirror/test/DebugInfo/Inputs/result_builder.swift
Slava Pestov a03b8ee6aa AST: Allow mangling LocatableType in DWARF mode
Fixes rdar://problem/145954323.
2025-03-04 22:00:44 -05:00

14 lines
306 B
Swift

@resultBuilder
public struct Builder {
@_alwaysEmitIntoClient
public static func buildExpression<X>(_ x: X) -> X {x}
@_alwaysEmitIntoClient
public static func buildBlock<X>(_ x: X) -> X {x}
}
public struct View<X> {
public init(@Builder _: () -> X) {}
public func closure(_: () -> Void) {}
}