Skip to content

Dojo template not reporting syntax errors #796

Closed
@nicknisi

Description

@nicknisi

Given code with syntax errors such as

const obj = {
    foo: 'bar'
    bar: 
};

The editor is not highlighting this code as having issues (see sandbox here), but this code does get properly marked in a React-TS template (sample).

We've looked into the TypeScript worker, and ts.transpileModule is fed the broken code and it comes out correct, but no errors are being reported back to Monaco.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions