swagger-api/swagger-codegen

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

Open

Aperta il 20 nov 2017

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)HTML (12.701 star) (5474 fork)batch import
Client: SwiftIssue: Bughelp wanted

Descrizione

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

Guida contributor