vyperlang / blackadder

MIT License
14 stars 5 forks source link

Make blackadder parse vyper AST even if there is a vyper version mismatch #12

Closed spinoch closed 3 years ago

spinoch commented 3 years ago

As long as the vyper version installed and the one specified in the file pragma are the same, then, we can assume that there have been no breaking changes to the way in which vyper parses the AST and continue.

Currently, the behavior is that blackadder fails as the underlying vyper parsing functions fail due to the version mismatch. Hence, blackadder only effectively supports parsing files whose version pragma is the same as the vyper version installed currently