Skip to content

Prevent duplicate constructors #459

Description

@tjpalmer

Even if we do factories someday, double constructors like this shouldn't be allowed:

$ export class Test {
        public x: Float64;
        public y: Float64;

        public constructor() {
              this.y = this.x;
          }
    }
interactive#4: Test

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions