# Indent Test

fun test ( val )
  fun plus1 ( val )
    return val + 1
  if type(val) == "string"
    if length(val) == 0
      return 0
    let val = val + val
    return val
  else
    return plus1 ( val )

fun plus2 ( v1 v2 )
  while v1 < v2
    let v1 = v1 + 2
  return v1

# main

fun main ()
  return plus2 ( 2 20 )
