Skip to content

Type-name is reversed in class initializers #92

@ghost

Description

Version: 1.0.0

Problem

The type and the name of the variable is reversed in class initializers.

var a: Number is valid, but class Q(public a: Number) {} throw the error

Runtime Error: a is not a class

Desired Behavior

Name first and type after

How to Reproduce

See Problem

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions