2 Commits

Author SHA1 Message Date
dcodeIO
c636eddcd2 Legalize casting object literals to classes when linting 2018-07-14 15:00:07 +02:00
dcodeIO
9e508de69a Implement object literal parsing; Instantiate classes from object literals
Essentially, if the contextual type is a class with a constructor that takes zero arguments or doesn't have a constructor at all, an object literal can be used to initialize a new instance of that class with preset values.
2018-07-14 04:00:04 +02:00