Skip to content

Custom symbols - #407

Merged
Perryvw merged 3 commits into
TypeScriptToLua:masterfrom
ark120202:custom-symbols
Feb 17, 2019
Merged

Custom symbols#407
Perryvw merged 3 commits into
TypeScriptToLua:masterfrom
ark120202:custom-symbols

Conversation

@ark120202

Copy link
Copy Markdown
Contributor

typeof Symbol() still returns object, since I don't see much need in this right now.

Uses the same code as #402 to use exnext Symbol.description type in tests.

@Perryvw Perryvw 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.

Looks good, just missing one test for the uniqueness of symbols. You'll also have to merge master to resolve the conflicts.

Comment thread test/unit/lualib/symbol.spec.ts

@tomblind tomblind left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great feature - makes sense since this is something that works easily in lua.

Comment thread src/lualib/Symbol.ts Outdated
Comment thread src/lualib/SymbolRegistry.ts Outdated
@Perryvw
Perryvw merged commit 6ad63ec into TypeScriptToLua:master Feb 17, 2019
@ark120202
ark120202 deleted the custom-symbols branch November 26, 2019 08:12
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