Skip to content

Commit 94ac24c

Browse files
committed
Remove TODO comment regarding class-nesting being unavailable in Swift 1.1
1 parent 6bacb66 commit 94ac24c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

SwiftState/StateMachine.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Darwin
1010

1111
// TODO: change .append() to +=
1212

13-
// TODO: nest inside StateMachine class
13+
// NOTE: nested type inside generic StateMachine class is not allowed in Swift 1.1
1414
// NOTE: 'public struct' didn't work since Xcode6-beta6
1515
public class StateMachineRouteID<S: StateType, E: StateEventType>
1616
{
@@ -36,7 +36,6 @@ public class StateMachineRouteID<S: StateType, E: StateEventType>
3636
}
3737
}
3838

39-
// TODO: nest inside StateMachine class
4039
public class StateMachineHandlerID<S: StateType, E: StateEventType>
4140
{
4241
private typealias Transition = StateTransition<S>
@@ -59,7 +58,6 @@ public class StateMachineHandlerID<S: StateType, E: StateEventType>
5958
}
6059
}
6160

62-
// TODO: nest inside StateMachine class
6361
internal class _StateMachineHandlerInfo<S: StateType, E: StateEventType>
6462
{
6563
private typealias HandlerOrder = StateMachine<S, E>.HandlerOrder

0 commit comments

Comments
 (0)