Func<int, int, int> sum = (x, y) => x + y;
I had to specify the type explicitly, could not use 'var' type inference; the error is "Cannot assign lambda expression to an implicitly typed local variable". This is because the lambda could mean more than one kind of thing (delegate, expression tree, Func<>). Yeah, it's c# baggage. var sum2 = sum; var foo = new Dictionary<string, int>();
and foo's type is infered as Dictionary<string, int>
Hm, I think the point is that some features are worse than others (larger attack surface, more bugs exposed), and WebGL is particularly bad.