Hi,
After pulling from master (the head of my master is sha 10526926014eb2d89c2b449f1e29f4df7ab620bd) I ran into some trouble when precompiling spark templates. I received a huge(!) set of repeated groups of compile errors on every line where ${…} contained ‘static reflection’ lambdas.
I tried to inspect the rendered c# but it seemed valid. I was in a hurry and had to pull in the tagged commit v1.0.39935, and the problem disappeared. So before I investigate further, does anybody have any idea what kind of work in master since v1.0.39935 (vb support, caching, ???) could be the cause if this.
To give you some more precise info about the compile error here are an example:
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,70): error CS1525: Invalid expression term '>'
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,72): error CS1026: ) expected
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,81): error CS1002: ; expected
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,81): error CS1525: Invalid expression term ')'
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,95): error CS1002: ; expected
c:\dev\projects\totalberegner\src\app\Website\Views\Layouts\Application.spark(28,95): error CS1525: Invalid expression term ')'
Line 28 in Application.spark
<li>${this.LinkFor<HomeController>(x => x.Index()).Text("Home")}</li>
This is an extension method on an interface defined by the view.
Cheers
Morten