-
-
Notifications
You must be signed in to change notification settings - Fork 184
New functions - interface recursion #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Perryvw
merged 22 commits into
TypeScriptToLua:new-functions
from
tomblind:new-functions
Nov 29, 2018
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e0ca0a4
passing nil instead of _G as context for global functions when in ES …
tomblind dcb71a2
fixed logic for determining strict mode
tomblind a24d775
replaced hack-around when passing nil as a function context with a nu…
tomblind f9a7eb3
testing viability of wrapping context/no-context calls on assignment
tomblind 90b7eb9
working on more function assignment situations
tomblind 10be963
fixed getting constructor signature and refactored things a bit
tomblind fa5dd9b
checking resolved signature when comparing function types passed as a…
tomblind a24caa2
working on assignment checks for methods vs functions
tomblind 7fb2cad
handling context in calls and decls
tomblind 8c75ff0
refactoring and handling tuple destructuring
tomblind fec41f0
generalized tuple assignment checking
tomblind 422e676
overloads with function and method signatures default to functions now
tomblind 7731342
preventing non-methods from being passed to bind/call/apply
tomblind eca6cc2
removed uneccessary helpers
tomblind 8314a1e
using proper exceptions for function conversion errors
tomblind abde08f
removed context arg from custom constructors and added check for assi…
tomblind 07887a5
updated tests
tomblind 4ac27f5
Merge remote-tracking branch 'upstream/new-functions' into new-functions
tomblind 5b10da7
Merge branch 'new-functions' into new-functions-assign-experiment
tomblind 7170080
removing leftover NoContext decorators
tomblind f90e2ec
Merge remote-tracking branch 'upstream/new-functions' into new-functions
tomblind 3ac149e
recursing into interfaces during assignment validation
tomblind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this error should be something like 'Can not implicitly convert method to function, to explicitly convert, wrap function call in a lambda function.'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I figured this could be improved upon a lot once we've nailed things down.