swagger-api/swagger-codegen

deferred.fulfill for a Promise<Void> has issue with latest PMK, Swift4 & Xcode 9

Open

#7005 opened on Nov 20, 2017

View on GitHub
 (5 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: SwiftIssue: Bughelp wanted

Description

Problem with your promises implementation....for the latest PromiseKit for a Promise{Void}, you are generating: deferred.fulfill( ) when you should generate deferred.fulfill( () ) Note the extra parens as the void arg

Contributor guide