 
 public func ==(lhs: ResolutionError, rhs: ResolutionError) -> Bool {
     switch (lhs, rhs){
-    case (.optional(let lname), .optional(let rname)):
-        return lname == rname
-    case (.implicitlyUnwrappedOptional(let lname), .implicitlyUnwrappedOptional(let rname)):
-        return lname == rname
     case (.tooManyDependencies(let ldependencyCount), .tooManyDependencies(let rdependencyCount)):
         return ldependencyCount == rdependencyCount
     default:

                expect(w.count) == 0
            }
            
            it("does show warning for optional closure"){
                let w = resolutionErrors(forInitializer: OptionalNestedClosureService.init)
                expect(w.count) == 1
            }
            
        }

    class UnwrappedService {
        init(a: DependencyA!, b: DependencyB){}
    }

    class OptionalSingleTupleService {
        init(tuple: (a: DependencyA?, b: DependencyB?, c: DependencyC?)){}
    }
