tcr / corollary

Cross-compiler from Haskell to Rust, plus parser-haskell.
74 stars 6 forks source link

Layout to brace expansion broken? #71

Open birkenfeld opened 7 years ago

birkenfeld commented 7 years ago

When I try to run cargo test on corollary (after pointing it to a manually-fixed version of petgraph 0.1.18 since that broke on nightly recently), it fails to parse any file because there is no end brace inserted after then { "something.

If I understand the layout rules correctly, there should be no need to insert braces for if-then-else expressions.