Skip to content

feature: Permit the use of default values for literals. - #95

Merged
cwacek merged 1 commit into
masterfrom
default-values
Oct 29, 2017
Merged

cwacek merged 1 commit into
masterfrom
default-values

Conversation

@cwacek

@cwacek cwacek commented Oct 29, 2017

Copy link
Copy Markdown
Owner

Literal types (string, number, boolean, etc) will now support default
values when instantiated.

Making this work required keeping track of subproperties with default
values in the object class, because there's no way to retrieve the
property descriptor without instantiating it at runtime.

Fixes #80

Literal types (string, number, boolean, etc) will now support default
values when instantiated.

Making this work required keeping track of subproperties with default
values in the object class, because there's no way to retrieve the
property descriptor without instantiating it at runtime.
@cwacek
cwacek merged commit 3072b61 into master Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant