Got a werid problem with a view, if i define it with
Inherits="System.Web.Mvc.ViewPage<List<Tuple<string, DateTime?, double?, double?, double?>>>"
i get the werid error:
CS1003: Syntax error, '>' expected
Line 118: public class views_report_intrestcalc_aspx : System.Web.Mvc.ViewPage<List<Tuple<string, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
But it workes perfectly if i remove the last “, double?”. A bug in the asp.net comiller?
Yes, the code the ASP.NET compiler generates is broken for your example. I can re-create this (Visual Studio 2010, .NET 4, ASP.NET MVC 2) and get:
When it should be:
Apparently, there’s a limit to the amount of abuse it can take.