Build Information
Failed to build swiftymocky, reference 4.2.0 (1e81c0
), with Swift 6.2 (beta) for Linux on 20 Jun 2025 10:35:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[40/128] Compiling Mocky_Example_macOS SimpleProtocols.swift
[41/128] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/129] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
[43/129] Compiling Mocky_Example_macOS Models.swift
[44/129] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[47/130] Emitting module Shared
[48/130] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:30:79: error: expected name in member access
28 |
29 | /// Represents and matches any parameter value - syntactic sugar for `._` case.
30 | public static var any: Parameter<ValueType> { return Parameter<ValueType>._ }
| |- error: expected name in member access
| `- note: insert name
31 |
32 | /// Represents and matches any parameter value - syntactic sugar for `._` case. Used, when needs to explicitely specify
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:38:29: error: expected name in member access
36 | /// - Returns: any parameter
37 | public static func any<T>(_ type: T.Type) -> Parameter<T> {
38 | return Parameter<T>._
| |- error: expected name in member access
| `- note: insert name
39 | }
40 |
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:43:15: error: expected name in member access
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| |- error: expected name in member access
| `- note: insert name
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:43:15: error: unexpected code '_' in switch case
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| `- error: unexpected code '_' in switch case
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:97:15: error: expected name in member access
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:97:15: error: unexpected code '_' in switch case
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| `- error: unexpected code '_' in switch case
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:108:15: error: expected name in member access
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:108:15: error: unexpected code '_' in switch case
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| `- error: unexpected code '_' in switch case
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | // MARK: - Parameter
[49/130] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:30:79: error: expected name in member access
28 |
29 | /// Represents and matches any parameter value - syntactic sugar for `._` case.
30 | public static var any: Parameter<ValueType> { return Parameter<ValueType>._ }
| |- error: expected name in member access
| `- note: insert name
31 |
32 | /// Represents and matches any parameter value - syntactic sugar for `._` case. Used, when needs to explicitely specify
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:38:29: error: expected name in member access
36 | /// - Returns: any parameter
37 | public static func any<T>(_ type: T.Type) -> Parameter<T> {
38 | return Parameter<T>._
| |- error: expected name in member access
| `- note: insert name
39 | }
40 |
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:43:15: error: expected name in member access
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| |- error: expected name in member access
| `- note: insert name
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:43:15: error: unexpected code '_' in switch case
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| `- error: unexpected code '_' in switch case
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:97:15: error: expected name in member access
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:97:15: error: unexpected code '_' in switch case
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| `- error: unexpected code '_' in switch case
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:108:15: error: expected name in member access
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:108:15: error: unexpected code '_' in switch case
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| `- error: unexpected code '_' in switch case
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | // MARK: - Parameter
[50/130] Compiling Rainbow Color.swift
[51/130] Compiling Rainbow Color+Cocoa.swift
[52/130] Emitting module ShellOut
[53/130] Compiling ShellOut ShellOut.swift
[54/131] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[55/131] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[56/131] Compiling Mocky_Example_macOS ItemsRepository.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an '@objc' protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[57/131] Compiling Mocky_Example_macOS MultiThreadAccess.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an '@objc' protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[58/131] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an '@objc' protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[59/131] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an '@objc' protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[60/131] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
[61/131] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
[67/131] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:30:79: error: expected name in member access
28 |
29 | /// Represents and matches any parameter value - syntactic sugar for `._` case.
30 | public static var any: Parameter<ValueType> { return Parameter<ValueType>._ }
| |- error: expected name in member access
| `- note: insert name
31 |
32 | /// Represents and matches any parameter value - syntactic sugar for `._` case. Used, when needs to explicitely specify
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:38:29: error: expected name in member access
36 | /// - Returns: any parameter
37 | public static func any<T>(_ type: T.Type) -> Parameter<T> {
38 | return Parameter<T>._
| |- error: expected name in member access
| `- note: insert name
39 | }
40 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:43:15: error: expected name in member access
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| |- error: expected name in member access
| `- note: insert name
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:43:15: error: unexpected code '_' in switch case
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| `- error: unexpected code '_' in switch case
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:97:15: error: expected name in member access
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:97:15: error: unexpected code '_' in switch case
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| `- error: unexpected code '_' in switch case
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:108:15: error: expected name in member access
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:108:15: error: unexpected code '_' in switch case
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| `- error: unexpected code '_' in switch case
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | // MARK: - Parameter
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:30:79: error: expected name in member access
28 |
29 | /// Represents and matches any parameter value - syntactic sugar for `._` case.
30 | public static var any: Parameter<ValueType> { return Parameter<ValueType>._ }
| |- error: expected name in member access
| `- note: insert name
31 |
32 | /// Represents and matches any parameter value - syntactic sugar for `._` case. Used, when needs to explicitely specify
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:38:29: error: expected name in member access
36 | /// - Returns: any parameter
37 | public static func any<T>(_ type: T.Type) -> Parameter<T> {
38 | return Parameter<T>._
| |- error: expected name in member access
| `- note: insert name
39 | }
40 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:43:15: error: expected name in member access
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| |- error: expected name in member access
| `- note: insert name
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:43:15: error: unexpected code '_' in switch case
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| `- error: unexpected code '_' in switch case
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:97:15: error: expected name in member access
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:97:15: error: unexpected code '_' in switch case
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| `- error: unexpected code '_' in switch case
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:108:15: error: expected name in member access
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:108:15: error: unexpected code '_' in switch case
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| `- error: unexpected code '_' in switch case
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | // MARK: - Parameter
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
[78/131] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[79/131] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[80/131] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[84/131] Compiling Shared Utils.swift
[85/131] Compiling Rainbow NSRegularExpression.swift
[90/131] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[91/131] Compiling Mocky_Example_macOS Item.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
[93/131] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:20:16: error: expected name in member access
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:20:16: error: unexpected code '_, _' in tuple
18 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
19 | switch (lhs, rhs) {
20 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
21 | case (_, ._): return true
22 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:21:19: error: expected name in member access
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:21:19: error: unexpected code '_' in tuple
19 | switch (lhs, rhs) {
20 | case (._, _): return true
21 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
22 | case (.matching(let match), .value(let value)): return match(value)
23 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:38:15: error: expected name in member access
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| |- error: expected name in member access
| `- note: insert name
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:38:15: error: unexpected code '_' in switch case
36 | // TODO: - Simplify in same way as type erased attribute.
37 | switch self {
38 | case ._:
| `- error: unexpected code '_' in switch case
39 | return .value(GenericAttribute(
40 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:101:15: error: expected name in member access
99 | // unrelated types.
100 | switch self {
101 | case ._:
| |- error: expected name in member access
| `- note: insert name
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:101:15: error: unexpected code '_' in switch case
99 | // unrelated types.
100 | switch self {
101 | case ._:
| `- error: unexpected code '_' in switch case
102 | return .any
103 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:141:16: error: expected name in member access
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:141:16: error: unexpected code '_, _' in tuple
139 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
140 | switch (lhs, rhs) {
141 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
142 | case (_, ._): return true
143 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:142:19: error: expected name in member access
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:142:19: error: unexpected code '_' in tuple
140 | switch (lhs, rhs) {
141 | case (._, _): return true
142 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
143 | case (.matching(let match), .value(let value)): return match(value)
144 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:165:16: error: expected name in member access
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:165:16: error: unexpected code '_, _' in tuple
163 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
164 | switch (lhs, rhs) {
165 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
166 | case (_, ._): return true
167 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:166:19: error: expected name in member access
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:166:19: error: unexpected code '_' in tuple
164 | switch (lhs, rhs) {
165 | case (._, _): return true
166 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
167 | case (.matching(let match), .value(let value)): return match(value)
168 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:183:15: error: expected name in member access
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| |- error: expected name in member access
| `- note: insert name
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:183:15: error: unexpected code '_' in switch case
181 | // TODO: - Simplify in same way as type erased attribute.
182 | switch self {
183 | case ._:
| `- error: unexpected code '_' in switch case
184 | return .value(GenericAttribute(
185 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:246:15: error: expected name in member access
244 | // unrelated types.
245 | switch self {
246 | case ._:
| |- error: expected name in member access
| `- note: insert name
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:246:15: error: unexpected code '_' in switch case
244 | // unrelated types.
245 | switch self {
246 | case ._:
| `- error: unexpected code '_' in switch case
247 | return .any
248 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:278:16: error: expected name in member access
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:278:16: error: unexpected code '_, _' in tuple
276 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
277 | switch (lhs, rhs) {
278 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
279 | case (_, ._): return true
280 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:279:19: error: expected name in member access
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:279:19: error: unexpected code '_' in tuple
277 | switch (lhs, rhs) {
278 | case (._, _): return true
279 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
280 | case (.matching(let match), .value(let value)): return match(value)
281 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:296:15: error: expected name in member access
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| |- error: expected name in member access
| `- note: insert name
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:296:15: error: unexpected code '_' in switch case
294 | // TODO: - Simplify in same way as type erased attribute.
295 | switch self {
296 | case ._:
| `- error: unexpected code '_' in switch case
297 | return .value(GenericAttribute(
298 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:359:15: error: expected name in member access
357 | // unrelated types.
358 | switch self {
359 | case ._:
| |- error: expected name in member access
| `- note: insert name
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:359:15: error: unexpected code '_' in switch case
357 | // unrelated types.
358 | switch self {
359 | case ._:
| `- error: unexpected code '_' in switch case
360 | return .any
361 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:391:16: error: expected name in member access
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:391:16: error: unexpected code '_, _' in tuple
389 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
390 | switch (lhs, rhs) {
391 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
392 | case (_, ._): return true
393 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:392:19: error: expected name in member access
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:392:19: error: unexpected code '_' in tuple
390 | switch (lhs, rhs) {
391 | case (._, _): return true
392 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
393 | case (.matching(let match), .value(let value)): return match(value)
394 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:409:15: error: expected name in member access
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| |- error: expected name in member access
| `- note: insert name
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:409:15: error: unexpected code '_' in switch case
407 | // TODO: - Simplify in same way as type erased attribute.
408 | switch self {
409 | case ._:
| `- error: unexpected code '_' in switch case
410 | return .value(GenericAttribute(
411 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:472:15: error: expected name in member access
470 | // unrelated types.
471 | switch self {
472 | case ._:
| |- error: expected name in member access
| `- note: insert name
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:472:15: error: unexpected code '_' in switch case
470 | // unrelated types.
471 | switch self {
472 | case ._:
| `- error: unexpected code '_' in switch case
473 | return .any
474 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:506:16: error: expected name in member access
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:506:16: error: unexpected code '_, _' in tuple
504 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
505 | switch (lhs, rhs) {
506 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
507 | case (_, ._): return true
508 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:507:19: error: expected name in member access
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:507:19: error: unexpected code '_' in tuple
505 | switch (lhs, rhs) {
506 | case (._, _): return true
507 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
508 | case (.matching(let match), .value(let value)): return match(value)
509 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:524:15: error: expected name in member access
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| |- error: expected name in member access
| `- note: insert name
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:524:15: error: unexpected code '_' in switch case
522 | // TODO: - Simplify in same way as type erased attribute.
523 | switch self {
524 | case ._:
| `- error: unexpected code '_' in switch case
525 | return .value(GenericAttribute(
526 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:587:15: error: expected name in member access
585 | // unrelated types.
586 | switch self {
587 | case ._:
| |- error: expected name in member access
| `- note: insert name
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:587:15: error: unexpected code '_' in switch case
585 | // unrelated types.
586 | switch self {
587 | case ._:
| `- error: unexpected code '_' in switch case
588 | return .any
589 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:619:16: error: expected name in member access
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| |- error: expected name in member access
| `- note: insert name
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:619:16: error: unexpected code '_, _' in tuple
617 | static func compare(lhs: Parameter<ValueType>, rhs: Parameter<ValueType>, with matcher: Matcher) -> Bool {
618 | switch (lhs, rhs) {
619 | case (._, _): return true
| `- error: unexpected code '_, _' in tuple
620 | case (_, ._): return true
621 | case (.matching(let match), .value(let value)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:620:19: error: expected name in member access
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| |- error: expected name in member access
| `- note: insert name
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:620:19: error: unexpected code '_' in tuple
618 | switch (lhs, rhs) {
619 | case (._, _): return true
620 | case (_, ._): return true
| `- error: unexpected code '_' in tuple
621 | case (.matching(let match), .value(let value)): return match(value)
622 | case (.value(let value), .matching(let match)): return match(value)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:637:15: error: expected name in member access
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| |- error: expected name in member access
| `- note: insert name
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:637:15: error: unexpected code '_' in switch case
635 | // TODO: - Simplify in same way as type erased attribute.
636 | switch self {
637 | case ._:
| `- error: unexpected code '_' in switch case
638 | return .value(GenericAttribute(
639 | value: Mirror(reflecting: ValueType.self),
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:700:15: error: expected name in member access
698 | // unrelated types.
699 | switch self {
700 | case ._:
| |- error: expected name in member access
| `- note: insert name
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:700:15: error: unexpected code '_' in switch case
698 | // unrelated types.
699 | switch self {
700 | case ._:
| `- error: unexpected code '_' in switch case
701 | return .any
702 | case let .value(value):
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Parameter+Compare.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | //// MARK: - Equality
[94/131] Compiling Rainbow Colors.swift
[95/131] Compiling Rainbow Double.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/131] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an '@objc' protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an '@objc' protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: '@objc' can only be used with members of classes, '@objc' protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[97/131] Compiling SwiftyMocky Utils.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
[111/132] Compiling Commander Commands.swift
[112/132] Compiling Shared Policies.swift
[115/132] Compiling Shared Parameter.swift
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:30:79: error: expected name in member access
28 |
29 | /// Represents and matches any parameter value - syntactic sugar for `._` case.
30 | public static var any: Parameter<ValueType> { return Parameter<ValueType>._ }
| |- error: expected name in member access
| `- note: insert name
31 |
32 | /// Represents and matches any parameter value - syntactic sugar for `._` case. Used, when needs to explicitely specify
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:38:29: error: expected name in member access
36 | /// - Returns: any parameter
37 | public static func any<T>(_ type: T.Type) -> Parameter<T> {
38 | return Parameter<T>._
| |- error: expected name in member access
| `- note: insert name
39 | }
40 |
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:43:15: error: expected name in member access
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| |- error: expected name in member access
| `- note: insert name
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:43:15: error: unexpected code '_' in switch case
41 | public var shortDescription: String {
42 | switch self {
43 | case ._: return ".any"
| `- error: unexpected code '_' in switch case
44 | case .value(let value as TypeErasedValue): return value.shortDescription
45 | case .value(let value): return String(describing: value)
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:97:15: error: expected name in member access
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:97:15: error: unexpected code '_' in switch case
95 | var intValue: Int {
96 | switch self {
97 | case ._: return 0
| `- error: unexpected code '_' in switch case
98 | case let .value(generic): return generic.intValue
99 | case .matching: return 1
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:108:15: error: expected name in member access
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| |- error: expected name in member access
| `- note: insert name
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:108:15: error: unexpected code '_' in switch case
106 | var intValue: Int {
107 | switch self {
108 | case ._: return 0
| `- error: unexpected code '_' in switch case
109 | case .value: return 1
110 | case .matching: return 1
/host/spi-builder-workspace/Sources/Shared/Parameter.swift:1:1: error: new Swift parser generated errors for code that C++ parser accepted
1 | import Foundation
| `- error: new Swift parser generated errors for code that C++ parser accepted
2 |
3 | // MARK: - Parameter
[116/132] Emitting module PathKit
BUILD FAILURE 6.2 linux