kareman / SwiftShell

A Swift framework for shell scripting.
https://kareman.github.io/SwiftShell
MIT License
1.03k stars 87 forks source link

Streams as protocols #28

Closed kareman closed 7 years ago

kareman commented 7 years ago

Works fine on macOS, build error on Linux. It seems the type checker did not like main.stderror becoming a protocol type instead of a class.

Since the problem is only on Linux I'm assuming this is a compiler bug.

kareman commented 7 years ago

Same problem on Swift 3.0.1-GM-CANDIDATE.

kareman commented 7 years ago

Replaced by #31