Skip to content

Conversation

@bgotink
Copy link
Owner

@bgotink bgotink commented Aug 26, 2023

For some reason negative numbers are parsed
into a unary expression instead of a literal,
so handle those.

Also introduces support for other unary operators
that result in literal types, though they don't
get any default value.

Fixes #11

For some reason negative numbers are parsed
into a unary expression instead of a literal,
so handle those.

Also introduces support for other unary operators
that result in literal types, though they don't
get any default value.

Fixes #11
@bgotink bgotink merged commit e29715a into main Aug 27, 2023
@bgotink bgotink deleted the fix/negative-defaults branch August 27, 2023 14:52
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.

negative default value for number input doesn't work

1 participant