New functions - merge from master#306
Merged
Perryvw merged 69 commits intoTypeScriptToLua:new-functionsfrom Dec 15, 2018
Merged
New functions - merge from master#306Perryvw merged 69 commits intoTypeScriptToLua:new-functionsfrom
Perryvw merged 69 commits intoTypeScriptToLua:new-functionsfrom
Conversation
* Const enum support * Changed string concatenation to interpolation
* refactored try block to allow rethrow * updated rethrow test with something less convoluted
* Fixed JIT using table.unpack sry * Fixed test for JIT unpack * Moved transpileDestructingAssignmentValue from 5.1 to 5.0
* Moved transpile switch to Lua 5.2 Closes TypeScriptToLua#194 * Fixed typo
* Cleaned up forOf loop, made it use numeric loop instead of ipairs * Fixed bug in non-array loop header and fixed tests * Fixed up some PR comments
* LuaJIT uses LuaTranspiler's spread * Added some unit tests for spreading * Stopped using prototype * Removed Transpiler import
* Fixed constructor overloads Fixes TypeScriptToLua#274 * Removed lambda body * Removed transpileFile (should be added to changelog since this was exposed in the API)
* lualib inline omit header when no features are used * Tests to enforce no lualib text when unused, unless using always
* Added support for JSDoc tags as decorators * Fixed invalid jsdoc failing a test * Added deprecation warning for ! decorators * Refactored decorator creation, made decorators case-insensitive * Fixed jsdoc tests * Fixed test runner not failing
* check the base types to determine if a type inherits from Array<T> * dont block exceptions * remove empty else clause * remove space * added tsHelper.isDefaultArrayCallExpression() * added derived array recognition test code * Added isExplicitArrayType() method * added unit test * rewrite isDefaultArrayCall() -> isDefaultArrayCallMethodName() * change switch statement to Set<string> lookup
* check for inherited accessor methods * diversify test * removed FocusTests and repositioned forAllTypes * rename forTypeOrAnySupertype
* update forTypeOrAnySupertype() to use declared type * added test case for accessor using this * enhance test to use generics
…ing functions as arguments or return values
Collaborator
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This merges changes from master since branching off