var a = {test: "Shoki"}

fun testParam(a) = do {
  var originalA = a
  ---
  { paramA: originalA }
}

---
{
  originalA: a,
  result: do {
    var a = 1

    var b = do {
      var a = {x: "2", y: false}
      var b = log('Must log')
      ---
      a.x as Number
    }
    ---
    { result: a + b, a: a, b: b }
  },
  originalAAfter: a,
  x: testParam(2)
}