Remove swift version check

This commit is contained in:
Christian Treffs 2020-07-30 16:14:50 +02:00
parent b7c745950c
commit 85debd9852
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 0 additions and 5 deletions

View File

@ -5,14 +5,9 @@
// Created by Christian Treffs on 30.07.20.
//
#if swift(<5.3)
@_functionBuilder
public enum ComponentsBuilderPreview { }
public typealias ComponentsBuilder = ComponentsBuilderPreview
#else
@functionBuilder
public enum ComponentsBuilder { }
#endif
extension ComponentsBuilder {
public static func buildBlock(_ components: Component...) -> [Component] {