Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make JSValue ExpressibleByNilLiteral#59

Merged
kateinoigakukun merged 1 commit into
masterswiftwasm/JavaScriptKit:masterfrom
jsvalue-nilswiftwasm/JavaScriptKit:jsvalue-nilCopy head branch name to clipboard
Sep 16, 2020
Merged

Make JSValue ExpressibleByNilLiteral#59
kateinoigakukun merged 1 commit into
masterswiftwasm/JavaScriptKit:masterfrom
jsvalue-nilswiftwasm/JavaScriptKit:jsvalue-nilCopy head branch name to clipboard

Conversation

@j-f1

@j-f1 j-f1 commented Sep 16, 2020

Copy link
Copy Markdown
Member

I have nil produce .null now but should it produce .undefined instead maybe? This is the last thing needed to get DOMKit building without AnyJSValueConvertible.

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think .null is appropriate here, .undefined corresponds more closely to ()/Void in my opinion.

@kateinoigakukun kateinoigakukun merged commit 8cdc2d1 into master Sep 16, 2020
@kateinoigakukun kateinoigakukun deleted the jsvalue-nil branch September 16, 2020 16:38
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.