Skip to content

Commit d09a1c4

Browse files
Change typealias to associatedtype
1 parent b80e523 commit d09a1c4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SQLite/Core/Value.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public protocol Number : Binding {}
3333

3434
public protocol Value : Expressible { // extensions cannot have inheritance clauses
3535

36-
typealias ValueType = Self
36+
associatedtype ValueType = Self
3737

38-
typealias Datatype : Binding
38+
associatedtype Datatype : Binding
3939

4040
static var declaredDatatype: String { get }
4141

SQLite/Helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public func *(_: Expression<Binding>?, _: Expression<Binding>?) -> Expression<Vo
3030

3131
public protocol _OptionalType {
3232

33-
typealias WrappedType
33+
associatedtype WrappedType
3434

3535
}
3636

SQLite/Typed/Expression.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
public protocol ExpressionType : Expressible { // extensions cannot have inheritance clauses
2626

27-
typealias UnderlyingType = Void
27+
associatedtype UnderlyingType = Void
2828

2929
var template: String { get }
3030
var bindings: [Binding?] { get }

0 commit comments

Comments
 (0)