You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This no longer causes an assertion failure and seems to provide the desired diagnostic output:
SR14224.swift:4:7: error: value type 'StoredProperty' cannot have a stored property that recursively contains it
var stored: Self
^
SR14224.swift:5:1: error: type 'StoredProperty.TangentVector' does not conform to protocol 'AdditiveArithmetic'
}
^
Swift.AdditiveArithmetic:2:34: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'ExpressibleByIntegerLiteral'
@inlinable public static var zero: Self { get }
^
SR14224.swift:5:1: error: type 'StoredProperty.TangentVector' does not conform to protocol 'Equatable'
}
^
<unknown>:0: note: stored property type 'SR14224.StoredProperty.TangentVector' does not conform to protocol 'Equatable', preventing synthesized conformance of 'SR14224.StoredProperty.TangentVector' to 'Equatable'
Swift.==:1:24: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'StoredProperty.TangentVector' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'StoredProperty.TangentVector' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'StoredProperty.TangentVector' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Swift.AdditiveArithmetic:2:16: note: protocol requires property 'zero' with type 'StoredProperty.TangentVector'
static var zero: Self { get }
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(StoredProperty.TangentVector, StoredProperty.TangentVector) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
Additional Detail from JIRA
md5: 091e67bbb38655e52345bba6fb91f6fb
Issue Description:
The text was updated successfully, but these errors were encountered: