better internalPrototype error diagnostic
Merge pull request #4 from xeno-by/master

better internalPrototype error diagnostic