Skip to content

Compiler errors are output to lua file #567

@tomblind

Description

@tomblind

If there is a tstl error when transpiling a file, the error itself is output to the resulting lua file. For example:

// main.ts
declare const a: { [k: string]: string; };
const o = {...a};

=>

-- main.lua
error("Unsupported object literal element kind: SpreadAssignment")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions