{"push_id":3140006767,"size":1,"distinct_size":1,"ref":"refs/heads/new-functions","head":"e8566997f2a3a3190241b8efe0c10fe7366a5904","before":"01ae584902200e933ce1dc43b0c565e8485686e1","commits":[{"sha":"e8566997f2a3a3190241b8efe0c10fe7366a5904","author":{"name":"Tom","email":"8cf21929fb7a360b12816093b4570211e1de25a7@users.noreply.github.com"},"message":"New functions - unions and generic type parameters (#305)\n\n* passing nil instead of _G as context for global functions when in ES strict mode\r\n\r\n* fixed logic for determining strict mode\r\n\r\n* replaced hack-around when passing nil as a function context with a null keyword\r\n\r\n* testing viability of wrapping context/no-context calls on assignment\r\n\r\n* working on more function assignment situations\r\n\r\n* fixed getting constructor signature and refactored things a bit\r\n\r\n* checking resolved signature when comparing function types passed as arguments\r\n\r\n* working on assignment checks for methods vs functions\r\n\r\n* handling context in calls and decls\r\n\r\n* refactoring and handling tuple destructuring\r\n\r\n* generalized tuple assignment checking\r\n\r\n* overloads with function and method signatures default to functions now\r\n\r\n* preventing non-methods from being passed to bind/call/apply\r\n\r\n* removed uneccessary helpers\r\n\r\n* using proper exceptions for function conversion errors\r\n\r\n* removed context arg from custom constructors and added check for assigning to untyped vars\r\n\r\n* updated tests\r\n\r\n* removing leftover NoContext decorators\r\n\r\n* recursing into interfaces during assignment validation\r\n\r\n* fixes for issues with overloads using different context types\r\n\r\n* less-lazy variable naming and improved error message\r\n\r\n* suite of tests for new functions and fixes for edge-cases found\r\n\r\n* validating return values and hanlding inference of contexts when passing functions as arguments or return values\r\n\r\n* renamed getFunctionReturnType to getContainingFunctionReturnType\r\n\r\n* handling more edge cases, adding more tests and a little bit of refactoring","distinct":true,"url":"https://api.github.com/repos/Perryvw/TypescriptToLua/commits/e8566997f2a3a3190241b8efe0c10fe7366a5904"}]}
{"actor":{"display_login":"Perryvw"}}