Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic/non-generic knockout observable fails to build #376

Open
michaelaird opened this issue Jun 3, 2013 · 0 comments
Open

generic/non-generic knockout observable fails to build #376

michaelaird opened this issue Jun 3, 2013 · 0 comments

Comments

@michaelaird
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant