Seems that starting a spark view with a '#' style statement causes the
spark compiler to write "Output.Write("# my statements")" rather than
the expected behavior. For example, many of my views do something like
this:
# using (this.FormFor("action"))
<tags/>
# }
Where this.FormFor writes a <form> and then returns an IDisposable
that writes a closing form tag when it's Dispose()'ed, similar to the
asp.net mvc forms helpers.
If I add an initial tag to the top of the file, all works fine, and
the trailing "# }" always works correctly, leading to some very
interesting view compilation errors :)