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
Version: 1.0.0
Problem
The type and the name of the variable is reversed in class initializers.
var a: Numberis valid, butclass Q(public a: Number) {}throw the errorDesired Behavior
Name first and type after
How to Reproduce
See Problem