 				case let .Unresolved(work):
 					self.state = .Resolving
 					return work
+					
 				case let .Done(result):
 					fallthrough
 				case .Resolving:

	}
	
	func whenFinished(scheduler: Scheduler, action: T -> ()) -> Disposable? {
		return nil
	}
}


			withLock(self.condition) { () -> () in
				self.state = PromiseState.Done { () -> T in result }
			}

			return result
