Format short blocks and loops on a single line.

This commit is contained in:
chriseth
2019-05-08 13:28:00 +02:00
parent 6c9c54a657
commit 0532a8cef2
180 changed files with 338 additions and 1089 deletions
@@ -16,12 +16,7 @@
// function f() -> x:bool
// {
// let b:u256 := 4:u256
// for {
// }
// f()
// {
// }
// {
// }
// for { } f() { }
// { }
// }
// }
@@ -14,11 +14,7 @@
// let c:u256
// let e:u256
// function f()
// {
// let b:u256
// }
// { let b:u256 }
// function g()
// {
// let d:u256
// }
// { let d:u256 }
// }
@@ -13,9 +13,7 @@
// {
// let a:u256
// function g()
// {
// let c:u256
// }
// { let c:u256 }
// function f()
// {
// let b:u256
@@ -9,6 +9,5 @@
// {
// let a:u256
// function f()
// {
// }
// { }
// }
@@ -3,5 +3,4 @@
// ====
// step: functionHoister
// ----
// {
// }
// { }