Skip to content

Forgiving binding parser #45

Description

@tscpp

The current binding parser currently uses acorn and will fail if the binding doesn't have valid object syntax.

The below example will make the parser crash because it expected the property "text" to have a value.

<div data-bind="text: "></div>

This will cause the analyzer and other language features not working while writing code, and the analyzer not to spit out any other errors than parsing errors if a single binding is broken.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions