Sword-Smith / Sword

Sword — A financial derivative language for the blockchain
MIT License
28 stars 2 forks source link

Compiler does not return exit code 1 on failure #20

Open Sword-Smith opened 3 years ago

Sword-Smith commented 3 years ago

I had a type error, but the compiler still had exit code 0.

This fix would be a nice addition. And this value could be checked by geth_tools.

sshine commented 3 years ago

We could make sure that Sword compiler errors produce a string on stderr and an exit code 1.