scriptsharp icon indicating copy to clipboard operation
scriptsharp copied to clipboard

Dictionary<T,Action<*>> will not generate correct javascript when invoked.

Open dested opened this issue 13 years ago • 0 comments

It compiles fine but generates the wrong javascript.

Setup:

Dictionary<string,Action<object>> foo=new Dictionary<string,Action<object>>();
foo["test"](true);

Expected:

foo["test"](true);

Actual:

foo["test"];

dested avatar Jul 17 '12 02:07 dested