scriptsharp icon indicating copy to clipboard operation
scriptsharp copied to clipboard

generic/non-generic knockout observable fails to build

Open michaelaird opened this issue 12 years ago • 0 comments

If you fail to specify the generic type for the creation of an observable, the build fails with no error.

Here's a sample class

public class SampleCode
    {
        Observable<bool> flag = Knockout.Observable(false);
    }

Notice the generic type is specified in the declaration but not in the initial assignment. Is this related to Issue #322 or is it something different?

I can produce this with 0.7.5.1, not sure if it affects 0.8.

michaelaird avatar Jun 03 '13 16:06 michaelaird