Skip to content

Commit dd3eec4

Browse files
author
Joe Newton
committed
Reduced generic constraint on Complex scalar type from BinaryFloatingPoint to Numeric
1 parent 6f418b4 commit dd3eec4

File tree

8 files changed

+1135
-900
lines changed

8 files changed

+1135
-900
lines changed

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@ reporter: "xcode"
5959

6060
identifier_name:
6161
excluded:
62+
- i
6263
- pi
6364
- _value

Complex.xcodeproj/project.pbxproj

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,40 @@
3838
DDB8122123F656AC0079FEB5 /* FunctionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8122023F656AC0079FEB5 /* FunctionsTests.swift */; };
3939
DDB8122223F656AC0079FEB5 /* FunctionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8122023F656AC0079FEB5 /* FunctionsTests.swift */; };
4040
DDB8122323F656AC0079FEB5 /* FunctionsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8122023F656AC0079FEB5 /* FunctionsTests.swift */; };
41+
DDB8126223F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */; };
42+
DDB8126323F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */; };
43+
DDB8126423F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */; };
44+
DDB8126523F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */; };
45+
DDB8126723F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126623F7B7F40079FEB5 /* ComplexArithmeticTests.swift */; };
46+
DDB8126823F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126623F7B7F40079FEB5 /* ComplexArithmeticTests.swift */; };
47+
DDB8126923F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB8126623F7B7F40079FEB5 /* ComplexArithmeticTests.swift */; };
4148
DDFEEC3D23EF13910096015C /* Complex.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDFEEC3323EF13900096015C /* Complex.framework */; };
4249
DDFEECC723F2001A0096015C /* Complex.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDFEECBE23F2001A0096015C /* Complex.framework */; };
4350
DDFEECE323F2003E0096015C /* Complex.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDFEECDA23F2003E0096015C /* Complex.framework */; };
4451
/* End PBXBuildFile section */
4552

4653
/* Begin PBXContainerItemProxy section */
54+
DDB8127B23FA5C3E0079FEB5 /* PBXContainerItemProxy */ = {
55+
isa = PBXContainerItemProxy;
56+
containerPortal = DDFEEC2A23EF13900096015C /* Project object */;
57+
proxyType = 1;
58+
remoteGlobalIDString = DDFEECA423F1BA0B0096015C;
59+
remoteInfo = "Run SwiftLint";
60+
};
61+
DDB8127F23FA5C430079FEB5 /* PBXContainerItemProxy */ = {
62+
isa = PBXContainerItemProxy;
63+
containerPortal = DDFEEC2A23EF13900096015C /* Project object */;
64+
proxyType = 1;
65+
remoteGlobalIDString = DDFEECA423F1BA0B0096015C;
66+
remoteInfo = "Run SwiftLint";
67+
};
68+
DDB8128323FA5C480079FEB5 /* PBXContainerItemProxy */ = {
69+
isa = PBXContainerItemProxy;
70+
containerPortal = DDFEEC2A23EF13900096015C /* Project object */;
71+
proxyType = 1;
72+
remoteGlobalIDString = DDFEECA423F1BA0B0096015C;
73+
remoteInfo = "Run SwiftLint";
74+
};
4775
DDFEEC3E23EF13910096015C /* PBXContainerItemProxy */ = {
4876
isa = PBXContainerItemProxy;
4977
containerPortal = DDFEEC2A23EF13900096015C /* Project object */;
@@ -83,6 +111,8 @@
83111
DDB8121B23F63B890079FEB5 /* Half.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Half.framework; path = Carthage/Build/Mac/Half.framework; sourceTree = "<group>"; };
84112
DDB8121C23F63B900079FEB5 /* Half.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Half.framework; path = Carthage/Build/iOS/Half.framework; sourceTree = "<group>"; };
85113
DDB8122023F656AC0079FEB5 /* FunctionsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FunctionsTests.swift; sourceTree = "<group>"; };
114+
DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComplexArithmetic.swift; sourceTree = "<group>"; };
115+
DDB8126623F7B7F40079FEB5 /* ComplexArithmeticTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComplexArithmeticTests.swift; sourceTree = "<group>"; };
86116
DDFEEC3323EF13900096015C /* Complex.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Complex.framework; sourceTree = BUILT_PRODUCTS_DIR; };
87117
DDFEEC3723EF13900096015C /* Complex-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Complex-Info.plist"; path = "Info/Complex-Info.plist"; sourceTree = "<group>"; };
88118
DDFEEC3C23EF13910096015C /* ComplexTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ComplexTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -214,6 +244,7 @@
214244
isa = PBXGroup;
215245
children = (
216246
DDB8121023F5AEB10079FEB5 /* ComplexTests.swift */,
247+
DDB8126623F7B7F40079FEB5 /* ComplexArithmeticTests.swift */,
217248
DDB8122023F656AC0079FEB5 /* FunctionsTests.swift */,
218249
DDFEEC4323EF13910096015C /* ComplexTests-Info.plist */,
219250
);
@@ -247,6 +278,7 @@
247278
isa = PBXGroup;
248279
children = (
249280
DDB8120623F59B760079FEB5 /* Complex.swift */,
281+
DDB8126123F7B1C90079FEB5 /* ComplexArithmetic.swift */,
250282
DDB8120B23F5A8E80079FEB5 /* Functions.swift */,
251283
);
252284
path = Complex;
@@ -335,6 +367,7 @@
335367
buildRules = (
336368
);
337369
dependencies = (
370+
DDB8127C23FA5C3E0079FEB5 /* PBXTargetDependency */,
338371
);
339372
name = "Complex macOS";
340373
productName = "Complex macOS";
@@ -371,6 +404,7 @@
371404
buildRules = (
372405
);
373406
dependencies = (
407+
DDB8128023FA5C430079FEB5 /* PBXTargetDependency */,
374408
);
375409
name = "Complex tvOS";
376410
productName = "Complex tvOS";
@@ -407,6 +441,7 @@
407441
buildRules = (
408442
);
409443
dependencies = (
444+
DDB8128423FA5C480079FEB5 /* PBXTargetDependency */,
410445
);
411446
name = "Complex watchOS";
412447
productName = "Complex watchOS";
@@ -559,6 +594,7 @@
559594
isa = PBXSourcesBuildPhase;
560595
buildActionMask = 2147483647;
561596
files = (
597+
DDB8126223F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */,
562598
DDB8120723F59B760079FEB5 /* Complex.swift in Sources */,
563599
DDB8120C23F5A8E80079FEB5 /* Functions.swift in Sources */,
564600
);
@@ -568,6 +604,7 @@
568604
isa = PBXSourcesBuildPhase;
569605
buildActionMask = 2147483647;
570606
files = (
607+
DDB8126723F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */,
571608
DDB8121123F5AEB10079FEB5 /* ComplexTests.swift in Sources */,
572609
DDB8122123F656AC0079FEB5 /* FunctionsTests.swift in Sources */,
573610
);
@@ -577,6 +614,7 @@
577614
isa = PBXSourcesBuildPhase;
578615
buildActionMask = 2147483647;
579616
files = (
617+
DDB8126323F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */,
580618
DDB8120823F59B760079FEB5 /* Complex.swift in Sources */,
581619
DDB8120D23F5A8E80079FEB5 /* Functions.swift in Sources */,
582620
);
@@ -586,6 +624,7 @@
586624
isa = PBXSourcesBuildPhase;
587625
buildActionMask = 2147483647;
588626
files = (
627+
DDB8126823F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */,
589628
DDB8121223F5AEB10079FEB5 /* ComplexTests.swift in Sources */,
590629
DDB8122223F656AC0079FEB5 /* FunctionsTests.swift in Sources */,
591630
);
@@ -595,6 +634,7 @@
595634
isa = PBXSourcesBuildPhase;
596635
buildActionMask = 2147483647;
597636
files = (
637+
DDB8126423F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */,
598638
DDB8120923F59B760079FEB5 /* Complex.swift in Sources */,
599639
DDB8120E23F5A8E80079FEB5 /* Functions.swift in Sources */,
600640
);
@@ -604,6 +644,7 @@
604644
isa = PBXSourcesBuildPhase;
605645
buildActionMask = 2147483647;
606646
files = (
647+
DDB8126923F7B7F40079FEB5 /* ComplexArithmeticTests.swift in Sources */,
607648
DDB8121323F5AEB10079FEB5 /* ComplexTests.swift in Sources */,
608649
DDB8122323F656AC0079FEB5 /* FunctionsTests.swift in Sources */,
609650
);
@@ -613,6 +654,7 @@
613654
isa = PBXSourcesBuildPhase;
614655
buildActionMask = 2147483647;
615656
files = (
657+
DDB8126523F7B1C90079FEB5 /* ComplexArithmetic.swift in Sources */,
616658
DDB8120A23F59B760079FEB5 /* Complex.swift in Sources */,
617659
DDB8120F23F5A8E80079FEB5 /* Functions.swift in Sources */,
618660
);
@@ -621,6 +663,21 @@
621663
/* End PBXSourcesBuildPhase section */
622664

623665
/* Begin PBXTargetDependency section */
666+
DDB8127C23FA5C3E0079FEB5 /* PBXTargetDependency */ = {
667+
isa = PBXTargetDependency;
668+
target = DDFEECA423F1BA0B0096015C /* Run SwiftLint */;
669+
targetProxy = DDB8127B23FA5C3E0079FEB5 /* PBXContainerItemProxy */;
670+
};
671+
DDB8128023FA5C430079FEB5 /* PBXTargetDependency */ = {
672+
isa = PBXTargetDependency;
673+
target = DDFEECA423F1BA0B0096015C /* Run SwiftLint */;
674+
targetProxy = DDB8127F23FA5C430079FEB5 /* PBXContainerItemProxy */;
675+
};
676+
DDB8128423FA5C480079FEB5 /* PBXTargetDependency */ = {
677+
isa = PBXTargetDependency;
678+
target = DDFEECA423F1BA0B0096015C /* Run SwiftLint */;
679+
targetProxy = DDB8128323FA5C480079FEB5 /* PBXContainerItemProxy */;
680+
};
624681
DDFEEC3F23EF13910096015C /* PBXTargetDependency */ = {
625682
isa = PBXTargetDependency;
626683
target = DDFEEC3223EF13900096015C /* Complex */;

0 commit comments

Comments
 (0)