X Tutup
Skip to content

Constructor overloading doesn't work #274

@velcroz

Description

@velcroz

`class OverloadConstructors {

constructor(a : string);
constructor(a : number);
constructor(a : any){
	/* */
}

}`

This code causes the transpiler to crash, whereas the same code works just fine when overloading functions.

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

      X Tutup