This is valid code. We spoke in #1023 about not supporting this, but I'd love to at least think about how we could possibly support this
function test()
return {
name: "bob"
#if true
getSomething: sub()
return "something"
end sub
#end if
}
end function
