Skip to content

Commit 455abe4

Browse files
alessionossastackotter
authored andcommitted
Improve Type declaration
1 parent 4a5ffd9 commit 455abe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MacroToolkit/Type.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import SwiftSyntaxBuilder
33

44
// TODO: Implement type normalisation and pretend sugar doesn't exist (e.g. Int? looks like Optional<Int> to devs)
55
/// Wraps type syntax (e.g. `Result<Success, Failure>`).
6-
public enum Type: TypeProtocol, SyntaxExpressibleByStringInterpolation {
6+
public enum `Type`: TypeProtocol, SyntaxExpressibleByStringInterpolation {
77
/// An array type (e.g. `[Int]`).
88
case array(ArrayType)
99
/// A `class` token in a conformance list. Equivalent to `AnyObject`.

0 commit comments

Comments
 (0)