sociomantic-tsunami / swarm

Asynchronous client/node framework library
Boost Software License 1.0
14 stars 26 forks source link

Add missing import for ProtocolError #314

Closed nemanja-boric-sociomantic closed 6 years ago

nemanja-boric-sociomantic commented 6 years ago

Add the import to the ProtocolError, since it's used in the RequestSet class.

Fixes #313

don-clugston-sociomantic commented 6 years ago

LGTM

gavin-norman-sociomantic commented 6 years ago

It's not clear why this code didn't fail in swarm / *proto before. Investigating...

gavin-norman-sociomantic commented 6 years ago

The reason is that swarm v4.6.x is not being compiled with dmd 2.071. So changes made in v4.6.x were not checked for 2.071 compatibility until they were merged into v5.0.x, which is tested with 2.071.