swagger-api/swagger-codegen

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

Open

#7.005 geöffnet am 20. Nov. 2017

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (12.701 Stars) (5.474 Forks)batch import
Client: SwiftIssue: Bughelp wanted

Beschreibung

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