Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

Unnecessary parentheses warning #394

Open Akuli opened 10 months ago

Akuli commented 10 months ago

From #393:

if (src->ast.path == dest->ast.path):

The parentheses are unnecessary in Jou, but a C programmer would write them this way. There could be a warning that tells you to delete the parentheses in simple cases like this, similar to Rust.