Skip to content

__TS__Iterator is incorrectly used for LuaTables #1244

@Zamiell

Description

@Zamiell

Steps to reproduce:

const a = new LuaTable();
const entries = [...pairs(a)];

Here's a link to this code snippet on the TSTL playground: https://typescripttolua.github.io/play#code/MYewdgzgLgBAhjAvDMBTA7jAMgVzgFTgCMAbVACgEoBuAKFEllTCgCcBLVCJGAbQDpBABzjtWEcnEoBdOkA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions