{"action":"opened","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/653","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/653/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/653/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/653/events","html_url":"https://github.com/Alamofire/Alamofire/issues/653","id":99634657,"number":653,"title":"'Method' is ambiguous for type lookup in this context","user":{"login":"Elmundo","id":978999,"avatar_url":"https://avatars.githubusercontent.com/u/978999?v=3","gravatar_id":"","url":"https://api.github.com/users/Elmundo","html_url":"https://github.com/Elmundo","followers_url":"https://api.github.com/users/Elmundo/followers","following_url":"https://api.github.com/users/Elmundo/following{/other_user}","gists_url":"https://api.github.com/users/Elmundo/gists{/gist_id}","starred_url":"https://api.github.com/users/Elmundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elmundo/subscriptions","organizations_url":"https://api.github.com/users/Elmundo/orgs","repos_url":"https://api.github.com/users/Elmundo/repos","events_url":"https://api.github.com/users/Elmundo/events{/privacy}","received_events_url":"https://api.github.com/users/Elmundo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-07T11:55:50Z","updated_at":"2015-08-07T11:55:50Z","closed_at":null,"body":"Hi guys,\r\n\r\nThere is an issue when i try to use 'Method' enum as parameter of an function, gives me error **'Method' is ambiguous for type lookup in this context**. If i use it as argument of  `Alamofire.request()` function there is no problem. What could cause such an error?\r\n\r\n>XCode: 6.4v\r\nCocoapods: 0.38.2v\r\nSwift: 1.2v\r\n\r\n```javascript\r\nimport UIKit\r\nimport Alamofire\r\n\r\nclass ServerManager: NSObject {\r\n\r\n    let ServerPath = \"BaseURL\"\r\n    \r\n    class var instance:ServerManager {\r\n        struct Singleton {\r\n            static let instance = ServerManager()\r\n        }\r\n        return Singleton.instance\r\n    }\r\n\r\n    func request(method: Method, identifier: String, parameters: [String: AnyObject]? = nil) -> Void{\r\n        Alamofire.request(Method.GET, ServerPath, parameters: nil, encoding: ParameterEncoding.URL, headers: nil)\r\n    }\r\n}\r\n```\r\n\r\n\r\n "}}