Add @protocol attribute to defimpl
Merge pull request #1439 from meh/protocol

Add @protocol attribute to defimpl