-
Notifications
You must be signed in to change notification settings - Fork 0
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
bangCall callback chain indentation bug #33
Comments
Yup, that's definitely wrong, good catch. I use |
NOTE This bug exists in 2.x as well, any fix must be backported to 2.x before closing |
Bisected this to a change in 2.3.1. Issue doesn't exist in 2.2: lscdiag Likely culprit: wcjohnson/babylon-lightscript@64f066f |
So, the problem here was the In 2.2, the bangCall unwinding algorithm crossed whiteblock boundaries, so it saw In 2.3, I patched the bangCall unwinding algorithm to respect block boundaries, so the unwinding is no longer happening and the subscript is attaching to The correct answer, I believe, is that it doesn't make sense for subscripting to cross whiteblock boundaries at all, in any circumstances -- so that's what I've done here. I believe it should fix this issue as well as obviating the need for some of the special-case code I did for bangCalls in 2.3. |
See wcjohnson/lightscript#33 # Conflicts: # src/plugins/lightscript.js
Fixed in 3.x and backported to 2.3. Closing. |
commit 62a9db8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:32:48 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.9 commit bd07fa2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:10:26 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.8 commit d33d831 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:08:23 2017 -0400 Fix bound catchExprs commit 5a298ea Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:54:45 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.7 commit a4607d5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:52:30 2017 -0400 Fix source locs commit 933d76a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 22:30:53 2017 -0400 CatchExpr parsing commit 6a9bc59 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:18:15 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.6 commit ec0d413 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:07:22 2017 -0400 Add `startsExpr` to `<-` Fixes wcjohnson/lightscript#58 commit e4e4202 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 14:55:09 2017 -0400 Add `bangCall` parsing to lsc test suite commit 0b6c44a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 21 14:06:03 2017 -0400 Clean up safe-await-outside-async error Fixes wcjohnson/lightscript#53 commit 5e28e85 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 21 13:56:27 2017 -0400 Re-disable `!(` commit f2d8047 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 21:02:12 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.5 commit 52644f2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:51:35 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.4 commit 60e1682 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:40:07 2017 -0400 Allow subscripting of argless bangcalls Addresses wcjohnson/lightscript#50 commit b3eeb55 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 21:08:32 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.3 commit 6cd44b3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:39:37 2017 -0400 Commaless import, export commit dcfd856 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:18:47 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.2 commit bd015d5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:26:35 2017 -0400 Packaging updates commit 052ced6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:03:27 2017 -0400 Post-merge fixup commit b2a20d9 Merge: 811db18 da66d3f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 18:33:46 2017 -0400 Merge remote-tracking branch 'babylon/6.x' into prerelease/3.0.0 # Conflicts: # README.md # package.json # src/parser/expression.js # src/tokenizer/index.js # test/fixtures/esprima/invalid-syntax/migrated_0268/options.json # yarn.lock commit 811db18 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 21:38:47 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.1 commit b51009e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 21:37:13 2017 -0400 Add fixture for flow ambiguity Re wcjohnson/lightscript#44 commit ae9cdce Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 01:24:01 2017 -0400 @oigroup/babylon-lightscript@3.0.0-beta.0 commit 0e52088 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 01:13:41 2017 -0400 Clean up parsing re: flow typecasts Addresses wcjohnson/lightscript#22 commit 322842a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 00:10:28 2017 -0400 Flow typecasts require parentheses Addresses wcjohnson/lightscript#22 commit 5e5a50e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 18:48:35 2017 -0400 Early whiteblock body termination Addresses wcjohnson/lightscript#39 commit 3099b20 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:35:27 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.6 commit 19b141c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:24:07 2017 -0400 `for..of` no longer requires a variable qualifier Addresses wcjohnson/lightscript#38 commit 95c3353 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 19:14:49 2017 -0400 Allow spread loops in JSXExpressionContainer commit 26abf6e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 18:29:50 2017 -0400 `spreadLoop` implementation commit 6e257e5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 16:59:40 2017 -0400 Disable legacy comprehensions commit 1a4cade Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 22:11:30 2017 -0400 Remove `pipeCall` See wcjohnson/lightscript#36 commit 15b9b13 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 22:04:52 2017 -0400 Disallow whitespace around safe tilde call operator Addresses wcjohnson/lightscript#19 commit adbe2a4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:49:48 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.5 commit cc81f86 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:30:54 2017 -0400 Eliminate nested block level tracking See wcjohnson/lightscript#33 commit 87afe91 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:05:16 2017 -0400 Disallow subscripting from crossing whiteblock boundaries Addresses wcjohnson/lightscript#33 commit d447c02 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 22:22:20 2017 -0400 Allow asi near `]` commit c9c226a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:12:53 2017 -0400 Block parsing algorithm simplification commit 65d3524 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:02 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.4 commit 8b1634e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:16 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.3 commit ffcf461 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:00:50 2017 -0400 More detailed error message in ambiguous cases. commit 210de1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:33:26 2017 -0400 `noLabeledExpressionStatements` plugin added commit 6ff25b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:04:53 2017 -0400 Revert `?.(` syntax due to JS stage 1 proposal uncertainty commit 249aee6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:43 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.2 commit eea37ea Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:42:18 2017 -0400 New WBP fixes commit d4184a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:39:47 2017 -0400 `whiteblockPreferred` updates commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0e97a7b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:16:47 2017 -0400 Whiteblock-preferred mode commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0a87973 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:27 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.1 commit f6b5fb7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:11:25 2017 -0400 Splat comprehensions commit 93088f6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 17:07:19 2017 -0400 Splat comprehension parsing commit 76e14e8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:23 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.0 commit bcd22fe Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:28:09 2017 -0400 `whiteblockOnly` mode commit 160ee23 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:59:11 2017 -0400 Parse `{` as expressionStatement when whiteblockOnly enabled commit afd89a2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:36:21 2017 -0400 Initial whiteblockOnly impl, test fixes commit 5aa3ee5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 15:44:02 2017 -0400 Merge 2.3 fixes commit 15799aa Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 16:01:25 2017 -0400 @oigroup/babylon-lightscript@2.3.1 commit e816aa7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:54:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0 commit 2376b75 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:41:14 2017 -0400 2.3.0 - Syntactic placeholders - Pipe calls `|>`, `<|` - Track block nesting level in parser state - Fix bang call subscript unwinding crossing block boundaries - Fix premature “comprehensions are illegal” error disallowing patterns with “for” or “case” keys - Don’t lint when testing commit 64f066f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:36:41 2017 -0400 Fix for bang call subscripting issue across block boundaries commit bda54e5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 476419a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit 833e5b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit eaa42cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 97109a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:55:17 2017 -0400 Fix for bang-tilde-call parsing commit 33e044c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:30:12 2017 -0400 Tilde calls now generate `CallExpression` nodes with `tilde: true` commit 926a863 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:55:42 2017 -0400 Converge with Babel re optional chaining - Eliminate `SafeMemberExpression` node type; use `MemberExpression` with `optional = true` instead. - Use `optional = true` for safe `CallExpression`s - Allow proposed `x?.(arg, arg…)` syntax for safe calls commit 99f8c0b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit da66d3f Author: Henry Zhu <hi@henryzoo.com> Date: Tue Aug 15 15:34:16 2017 -0400 6.18.0 commit a457038 Author: jbrown215 <jmbrown@andrew.cmu.edu> Date: Tue Aug 15 15:23:41 2017 -0400 Flow opaque type alias backport (babel#644) * Flow opaque type alias backport * Flow opaque type alias backport tests * Only add support for opaque types * Remove .swp file commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit f199a61 Author: blackmiaool <blackmiaool@gmail.com> Date: Wed Jun 28 22:22:53 2017 +0800 fix the error info of 'sourceType' (babel#572) commit c7292a7 Author: Daniel Tschinder <daniel@tschinder.de> Date: Sun Jun 18 23:04:08 2017 +0200 Changelog 6.17.4 commit 5b7fd46 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Sun Jun 18 23:01:51 2017 +0200 6.17.4 commit e79aadd Author: aardito2 <anthony.ardito@gmail.com> Date: Sun Jun 18 16:57:42 2017 -0400 Fix comment attachment for call expressions (babel#575) commit ec6d688 Author: Daniel Tschinder <daniel@tschinder.de> Date: Sun Jun 18 22:52:25 2017 +0200 Correctly put typeParameters on FunctionExpression (babel#585) (babel#586) commit 40f9a95 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Fri Jun 9 11:12:01 2017 +0200 6.17.3 commit 1a19491 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Fri Jun 9 11:11:29 2017 +0200 Changelog 6.17.3 commit 041e7ef Author: Daniel Tschinder <daniel@tschinder.de> Date: Fri Jun 9 11:05:37 2017 +0200 Fix location info on FunctionTypeParam nodes (babel#565) (babel#571) commit eeba714 Author: Daniel Tschinder <daniel@tschinder.de> Date: Sat Jun 3 16:21:53 2017 +0200 Fix stmt value being the raw value (babel#557) (babel#558) commit e212701 Author: Daniel Tschinder <daniel@tschinder.de> Date: Thu Jun 1 11:51:01 2017 +0200 Add node 8 and remove <4 (babel#553) commit a9aade9 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Wed May 31 23:06:55 2017 +0200 Changelog 6.17.2 commit 8722762 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Wed May 31 23:00:04 2017 +0200 6.17.2 commit 8a8cc1a Author: Daniel Tschinder <daniel@tschinder.de> Date: Wed May 31 22:58:36 2017 +0200 Fixed disappearing comments following a trailing comma on the last property of an object literal or the last argument of a call expression (babel#478) (babel#551) commit 990675d Author: Daniel Tschinder <daniel@tschinder.de> Date: Fri May 19 10:28:42 2017 +0200 Fix babel#437: only prohibit 'export type from "module" ' when flow is enabled (babel#438) (babel#531) * Only prohibit 'export type' when flow is enabled * Fix lint commit b7c13a8 Author: Daniel Tschinder <daniel@tschinder.de> Date: Fri May 19 10:04:54 2017 +0200 Fix handling of anonymous parameters in `flowParseObjectTypeMethodish`. (babel#526) (babel#528) By analogy with `flowParseFunctionTypeParams` (cf. commit 407c97c). commit 54399ab Author: Daniel Tschinder <daniel@tschinder.de> Date: Thu May 11 12:10:28 2017 +0200 Convert argument of SpreadElement correctly to assignable (babel#518) (babel#519) commit 28985e7 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Wed May 10 18:25:58 2017 +0200 6.17.1 commit 934a3a7 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Wed May 10 18:25:13 2017 +0200 Update changelog commit 9a1ef48 Merge: 8c885ea 1077a73 Author: Daniel Tschinder <daniel@tschinder.de> Date: Wed May 10 18:22:06 2017 +0200 Merge pull request babel#516 from babel/backport2 Backport babel#433 babel#473 + typo commit 1077a73 Author: Brian Ng <bng412@gmail.com> Date: Mon Apr 10 10:48:51 2017 -0500 Fix typo in flow spread operator error [skip ci] commit b98f463 Author: Alex Kuzmenko <alx.kuzm@gmail.com> Date: Fri Apr 21 16:22:50 2017 +0300 Fixed invalid number literal parsing (babel#473) * Fixed invalid number literal parsing * Don't ignore period or E characters after octal numbers cherry-pick fix from acorn * Fix tests commit 406c3da Author: Alex Kuzmenko <alx.kuzm@gmail.com> Date: Mon Apr 3 23:25:29 2017 +0300 Fix number parser (babel#433) Fixed number parser #2 Added one more test commit 8c885ea Merge: a2c1432 7c56c24 Author: Daniel Tschinder <daniel@tschinder.de> Date: Wed May 10 18:03:58 2017 +0200 Merge pull request babel#515 from babel/backport1 Backport babel#499, babel#510, babel#475, babel#479 commit 7c56c24 Author: Brian Ng <bng412@gmail.com> Date: Fri Apr 21 09:25:34 2017 -0500 Ensure non pattern shorthand props are checked for reserved words (babel#479) commit 67db275 Author: Brian Ng <bng412@gmail.com> Date: Sun Apr 23 17:45:19 2017 -0500 Remove jsx context when parsing arrow functions (babel#475) commit 4a29ccd Author: Brian Ng <bng412@gmail.com> Date: Tue May 2 13:41:10 2017 -0500 Allow super in class properties (babel#499) commit 63412e5 Author: Brian Ng <bng412@gmail.com> Date: Wed May 10 09:18:08 2017 -0500 Allow flow class field to be named constructor (babel#510) commit a2c1432 Author: Sebastian McKenzie <sebmck@fb.com> Date: Thu Apr 20 16:43:47 2017 +0100 Add changelog commit 2e17e5b Author: Sebastian McKenzie <sebmck@fb.com> Date: Thu Apr 20 16:41:23 2017 +0100 6.17.0 commit a4ca1cc Author: Sebastian McKenzie <kittens@users.noreply.github.com> Date: Thu Apr 20 16:40:55 2017 +0100 Cherry-pick babel#418 to 6.x (babel#476) * Add support for flow type spread (babel#418) * Add support for flow type spread * Broaden spreadable types from primary to all, more tests * Eliminate variance sigil for type spreads, better errors, fix tests # Conflicts: # src/plugins/flow.js * Fix tests commit fab343e Author: Kevin Gibbons <bakkot@gmail.com> Date: Wed Mar 22 09:50:34 2017 +1300 Add support for invalid escapes in tagged templates (babel#274) Per the stage-3 TC39 proposal: https://github.com/tc39/proposal-template-literal-revision commit 0811438 Author: Daniel Tschinder <daniel@tschinder.de> Date: Sun Mar 19 22:07:16 2017 +0100 Update flow (babel#422) commit 4c88cfe Author: Daniel Tschinder <code@tschinder.de> Date: Fri Mar 10 13:50:53 2017 +0100 Disable failing tests (fixed in 7.0) commit c0a89f4 Author: Daniel Tschinder <code@tschinder.de> Date: Fri Mar 10 13:41:08 2017 +0100 Upgrade flow to 0.41 commit ca652bd Author: Brian Ng <bng412@gmail.com> Date: Wed Mar 8 09:34:22 2017 -0600 Throw error if new.target is used outside of a function (babel#402) commit 35e7732 Author: Brian Ng <bng412@gmail.com> Date: Fri Mar 10 05:45:45 2017 -0600 Fix watch command (babel#403) commit 902f93d Author: Daniel Tschinder <code@tschinder.de> Date: Fri Mar 10 13:35:49 2017 +0100 Update yarn lock commit 81056ee Author: Kevin Gibbons <bakkot@gmail.com> Date: Fri Mar 10 03:43:45 2017 -0800 Fix parsing of class properties (babel#351) commit 0b7da50 Author: Daniel Tschinder <daniel.tschinder@researchgate.net> Date: Sat Mar 4 21:00:10 2017 +0100 Add estree test for correct order of directives commit 962ce16 Author: Alex Kuzmenko <alx.kuzm@gmail.com> Date: Fri Mar 3 22:38:04 2017 +0200 Add DoExpression to spec (babel#364)
commit 7818505 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:32:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.9 commit 5e922b2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:31:32 2017 -0400 Remove extraneous logging commit d504a9c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:10:27 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.8 commit 9274bb2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:09:11 2017 -0400 Fix for bound catchExprs commit 77a1b4d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:54:47 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.7 commit 8e30cfa Merge: 8c2ba15 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:52:54 2017 -0400 Merge branch 'feature/catch-expressions' into prerelease/3.0.0 commit 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:50:18 2017 -0400 Options commit 7dedab3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:48:28 2017 -0400 Catch expr optimization commit 2810f87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:47 2017 -0400 `CatchExpression`s commit ab8ff83 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:26 2017 -0400 Tail into `catch` blocks commit 7da6b5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:11 2017 -0400 Export matching api commit 8c2ba15 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:18:17 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.6 commit 1e8181b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:10:27 2017 -0400 Added bang await arrow test commit fa3f459 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 21 13:56:58 2017 -0400 Re-disable `!(` commit 01e06c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 21:02:13 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.5 commit 9f7065c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 20:54:48 2017 -0400 Named exports no longer trigger stdlib imports - Fixes wcjohnson/lightscript#56 commit 1328737 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 16:12:19 2017 -0400 Implicitly return class declarations Addresses wcjohnson/lightscript#55 commit 409af7a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:51:36 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.4 commit 34da5a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:43:19 2017 -0400 Spaceless subscripts of bang calls commit 606c95f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 21:08:33 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.3 commit 2680b70 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:45:15 2017 -0400 Commaless import/export tests commit b49382f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:18:48 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.2 commit 94b9467 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:15:23 2017 -0400 Packaging updates commit 999023e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:03:42 2017 -0400 Update deps commit ee25f1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:12:03 2017 -0400 update README commit 0d80f0c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:05:47 2017 -0400 Catch up with Babylon 6 merge commit 5e48ddd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 16:56:18 2017 -0400 Register function decls on entry - Fixes wcjohnson/lightscript#49 commit 984d72d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 21:38:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.1 commit 3dc9c90 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 01:24:02 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.0 commit 2bbf09e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 10 20:40:36 2017 -0400 Safe spread optimizations commit 233f224 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:54:48 2017 -0400 `for..of` auto const Fixes wcjohnson/lightscript#41 commit f95f78b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:31:38 2017 -0400 Remove `whiteblock` commit b9ca11a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:51 2017 -0400 Tests related to parser changes re: flow casts commit 2a81a4f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:20 2017 -0400 Packaging: Use AUTHORS file commit 4b6ee6b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:31 2017 -0400 Tooling API updates commit 09ccb87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:22 2017 -0400 Whiteblock early termination testing commit b20bd66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:35:29 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.6 commit 2c8446a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:26:13 2017 -0400 Remove `for-of` variable qualifier requirement wcjohnson/lightscript#38 commit 0ec702c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:40:55 2017 -0400 Allow bjects with single string literal keys in tail position commit c69f7e9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:26:38 2017 -0400 Changelog updates commit d329e69 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:18:02 2017 -0400 Add unit test for object with methods commit ee270bf Merge: e7a0f21 cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:56 2017 -0400 Merge branch 'feature/spread-loop' into prerelease/3.0.0 commit cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:38 2017 -0400 Spread loops commit e7a0f21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 22:53:16 2017 -0400 Add .gitattributes for syntax highlighting commit a70f9e1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 15:56:26 2017 -0400 Tooling API (wip) commit 3936ca6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 23:54:56 2017 -0400 Compiler config cleanup - eliminated hack checking for test fixture in file path - Can pass `isLightScript: true` to Babel opts to force compile as LSC - Updated test suite commit 416c326 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 22:16:05 2017 -0400 Remove `pipeCall` wcjohnson/lightscript#36 commit 9578116 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:49:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.5 commit 1ccb6fb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:04:21 2017 -0400 Test fixture for bangCall bug Re wcjohnson/lightscript#33 commit 8340c21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 4 16:52:27 2017 -0400 Code cleanup, part 2 commit 6e62f05 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:51:16 2017 -0400 Code cleanup commit 71e54e6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:50:55 2017 -0400 Parity with parser updates commit a20b583 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 17:13:26 2017 -0400 Update self-hosting to 3.0 commit fe31d8c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:03 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.4 commit 7b7dd39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:14:34 2017 -0400 Re-enable safe call by default commit fbb4ddc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 22:18:16 2017 -0400 Changelog updates commit 677f6b6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:18 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.3 commit 0510d65 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:14:36 2017 -0400 Make `enhancedComprehension` the default commit 787f2d7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:12:27 2017 -0400 Revert safe traversal policy - `safeCall` no longer enabled by default - Remove `?.(` syntax - Update changelog accordingly commit e2f3e68 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 19:57:33 2017 -0400 `toBlockArrowFunctionExpression` now preserves skinny arrows Addresses wcjohnson/lightscript#29 commit 8315dda Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:45 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.2 commit fe283a4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:08:25 2017 -0400 Changelog updates commit 8c6b3fc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:44:58 2017 -0400 `whiteblockPreferred` mode commit e39110d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:28 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.1 commit 9c2b173 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:10:15 2017 -0400 Splat comprehensions commit 4b4979e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:09:41 2017 -0400 Changelog commit d809a5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:57:21 2017 -0400 Throw on empty comprehensions commit 8b37b95 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:50:22 2017 -0400 Fix: `LabeledStatement` bodies now included in tail transforms commit dab8a33 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:07:51 2017 -0400 Enhanced comprehensions use `…` syntax commit f59cf36 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:24 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.0 commit 585eb2d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:14:00 2017 -0400 packaging fixup commit f58c0e2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:59:53 2017 -0400 3.0 updates - `whiteblock` mode - `bangCall` on by default - `safeCall` on by default - `seqExprRequiresParen` by default commit 2eaefe3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:45:12 2017 -0400 Cleanup commit a246ed9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:16:38 2017 -0400 Add unit test for `UpdateExpression` in safe chain commit d62a44f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:01:27 2017 -0400 Add changelog commit 760ec66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:23:40 2017 -0400 Use Babel `optional-chaining` algorithm for safe expressions commit 187231c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:22:43 2017 -0400 Misc cleanup commit cd7cdb0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:11:17 2017 -0400 Move safe transforms to a separate AST visitor pass commit 832cf9d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:40:19 2017 -0400 Restore unit test related to tilde chaining commit 9ac1dd4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:38:48 2017 -0400 Remove old safecall code commit 0141061 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:34:49 2017 -0400 Correct memoization for `CallExpression` with `MemberExpression` callee commit 2766ce4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:59:30 2017 -0400 Eliminate `TildeCallExpression` node type commit f2c3328 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:06:19 2017 -0400 Check `typeof(x) === function` in safecalls commit c39b0d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:47:48 2017 -0400 Babel safe transforms, phase 2 - Avoid memoising simple identifiers commit 83ff2d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:22:26 2017 -0400 Ref cleanup commit c592784 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:17:12 2017 -0400 Perform block-body fixup for optional chaining in first ast pass commit 1134d99 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:09:41 2017 -0400 Cherry-pick block body fix from 2.3.0 commit c40d0a9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 23:48:26 2017 -0400 Preliminary babel safe transform impl commit 40317d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 21:20:10 2017 -0400 Missing branches of branching constructs now generate `undefined` instead of `null` Addresses lightscript/lightscript#45 commit 6b18454 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 17:28:25 2017 -0400 Converge optional member expressions with Babel, step 1 - Eliminate `SafeMemberExpression` node type - Allow `MemberExpressions` with `optional = true` - Change `CallExpression` safe flag from `safe` to `optional` commit 73c402f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:08 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.3 commit 8e3a391 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:10:51 2017 -0400 Fix for SafeMemberExpressions in ArrowFunctionExpressions See wcjohnson/lightscript#23 commit e99764b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:02 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.2 commit 6b9f6b7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:13:36 2017 -0400 Placeholder design changes - Mixing indexed and non-indexed placeholders is now illegal. - Non-indexed placeholder is like Kotlin `it` and always refers to the first arg no matter how many times it’s used. E.g.: `-> g(_, _)` is `f(arg0) -> g(arg0, arg0)`. Contrast with before where this would have made two different args. - Indexed placeholders refer to zero-indexed args and are not collapsed. E.g.: `-> _1` compiles to `f(arg0, arg1) -> arg1` - Spread placeholders can be used with either indexed or non-indexed placeholders and always generate a rest arg in the last position. commit 8ccd716 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:43 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.1 commit ca983c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:32:18 2017 -0400 Reversed pipe call support commit c4c91a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:14 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.0 commit 662ddcc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:23 2017 -0400 `pipeCall` tests commit 4d0e951 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:41 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-2 commit 02ad790 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:25:42 2017 -0400 `babel-types` patch: improve registration commit 50af726 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:24 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-1 commit 8e0a45a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:17:54 2017 -0400 Make sure babel is patched commit 356876f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:37 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-0 commit 571d6cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:04:50 2017 -0400 Pipe call ast transformation commit daf9a4d5846bd955bd547a2a3f8cb21f4d1ce5cb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:00:33 2017 -0400 Pipe operator transformation commit fbc0be5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:48:26 2017 -0400 Placeholder args commit 5fa8631 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:42:22 2017 -0400 Allow placeholder to be changed commit ee2f7a7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:20:23 2017 -0400 Support rest/spread placeholder args commit cd625f1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 19:41:02 2017 -0400 Initial placeholderArgs implementation + testing
commit 7818505 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:32:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.9 commit 5e922b2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:31:32 2017 -0400 Remove extraneous logging commit d504a9c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:10:27 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.8 commit 9274bb2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:09:11 2017 -0400 Fix for bound catchExprs commit 77a1b4d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:54:47 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.7 commit 8e30cfa Merge: 8c2ba15 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:52:54 2017 -0400 Merge branch 'feature/catch-expressions' into prerelease/3.0.0 commit 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:50:18 2017 -0400 Options commit 7dedab3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:48:28 2017 -0400 Catch expr optimization commit 2810f87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:47 2017 -0400 `CatchExpression`s commit ab8ff83 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:26 2017 -0400 Tail into `catch` blocks commit 7da6b5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:11 2017 -0400 Export matching api commit 8c2ba15 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:18:17 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.6 commit 1e8181b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:10:27 2017 -0400 Added bang await arrow test commit fa3f459 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 21 13:56:58 2017 -0400 Re-disable `!(` commit 01e06c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 21:02:13 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.5 commit 9f7065c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 20:54:48 2017 -0400 Named exports no longer trigger stdlib imports - Fixes wcjohnson/lightscript#56 commit 1328737 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 16:12:19 2017 -0400 Implicitly return class declarations Addresses wcjohnson/lightscript#55 commit 409af7a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:51:36 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.4 commit 34da5a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:43:19 2017 -0400 Spaceless subscripts of bang calls commit 606c95f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 21:08:33 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.3 commit 2680b70 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:45:15 2017 -0400 Commaless import/export tests commit b49382f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:18:48 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.2 commit 94b9467 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:15:23 2017 -0400 Packaging updates commit 999023e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:03:42 2017 -0400 Update deps commit ee25f1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:12:03 2017 -0400 update README commit 0d80f0c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:05:47 2017 -0400 Catch up with Babylon 6 merge commit 5e48ddd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 16:56:18 2017 -0400 Register function decls on entry - Fixes wcjohnson/lightscript#49 commit 984d72d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 21:38:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.1 commit 3dc9c90 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 01:24:02 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.0 commit 2bbf09e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 10 20:40:36 2017 -0400 Safe spread optimizations commit 233f224 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:54:48 2017 -0400 `for..of` auto const Fixes wcjohnson/lightscript#41 commit f95f78b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:31:38 2017 -0400 Remove `whiteblock` commit b9ca11a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:51 2017 -0400 Tests related to parser changes re: flow casts commit 2a81a4f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:20 2017 -0400 Packaging: Use AUTHORS file commit 4b6ee6b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:31 2017 -0400 Tooling API updates commit 09ccb87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:22 2017 -0400 Whiteblock early termination testing commit b20bd66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:35:29 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.6 commit 2c8446a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:26:13 2017 -0400 Remove `for-of` variable qualifier requirement wcjohnson/lightscript#38 commit 0ec702c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:40:55 2017 -0400 Allow bjects with single string literal keys in tail position commit c69f7e9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:26:38 2017 -0400 Changelog updates commit d329e69 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:18:02 2017 -0400 Add unit test for object with methods commit ee270bf Merge: e7a0f21 cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:56 2017 -0400 Merge branch 'feature/spread-loop' into prerelease/3.0.0 commit cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:38 2017 -0400 Spread loops commit e7a0f21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 22:53:16 2017 -0400 Add .gitattributes for syntax highlighting commit a70f9e1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 15:56:26 2017 -0400 Tooling API (wip) commit 3936ca6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 23:54:56 2017 -0400 Compiler config cleanup - eliminated hack checking for test fixture in file path - Can pass `isLightScript: true` to Babel opts to force compile as LSC - Updated test suite commit 416c326 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 22:16:05 2017 -0400 Remove `pipeCall` wcjohnson/lightscript#36 commit 9578116 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:49:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.5 commit 1ccb6fb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:04:21 2017 -0400 Test fixture for bangCall bug Re wcjohnson/lightscript#33 commit 8340c21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 4 16:52:27 2017 -0400 Code cleanup, part 2 commit 6e62f05 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:51:16 2017 -0400 Code cleanup commit 71e54e6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:50:55 2017 -0400 Parity with parser updates commit a20b583 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 17:13:26 2017 -0400 Update self-hosting to 3.0 commit fe31d8c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:03 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.4 commit 7b7dd39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:14:34 2017 -0400 Re-enable safe call by default commit fbb4ddc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 22:18:16 2017 -0400 Changelog updates commit 677f6b6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:18 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.3 commit 0510d65 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:14:36 2017 -0400 Make `enhancedComprehension` the default commit 787f2d7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:12:27 2017 -0400 Revert safe traversal policy - `safeCall` no longer enabled by default - Remove `?.(` syntax - Update changelog accordingly commit e2f3e68 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 19:57:33 2017 -0400 `toBlockArrowFunctionExpression` now preserves skinny arrows Addresses wcjohnson/lightscript#29 commit 8315dda Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:45 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.2 commit fe283a4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:08:25 2017 -0400 Changelog updates commit 8c6b3fc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:44:58 2017 -0400 `whiteblockPreferred` mode commit e39110d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:28 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.1 commit 9c2b173 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:10:15 2017 -0400 Splat comprehensions commit 4b4979e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:09:41 2017 -0400 Changelog commit d809a5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:57:21 2017 -0400 Throw on empty comprehensions commit 8b37b95 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:50:22 2017 -0400 Fix: `LabeledStatement` bodies now included in tail transforms commit dab8a33 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:07:51 2017 -0400 Enhanced comprehensions use `…` syntax commit f59cf36 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:24 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.0 commit 585eb2d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:14:00 2017 -0400 packaging fixup commit f58c0e2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:59:53 2017 -0400 3.0 updates - `whiteblock` mode - `bangCall` on by default - `safeCall` on by default - `seqExprRequiresParen` by default commit 2eaefe3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:45:12 2017 -0400 Cleanup commit a246ed9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:16:38 2017 -0400 Add unit test for `UpdateExpression` in safe chain commit d62a44f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:01:27 2017 -0400 Add changelog commit 760ec66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:23:40 2017 -0400 Use Babel `optional-chaining` algorithm for safe expressions commit 187231c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:22:43 2017 -0400 Misc cleanup commit cd7cdb0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:11:17 2017 -0400 Move safe transforms to a separate AST visitor pass commit 832cf9d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:40:19 2017 -0400 Restore unit test related to tilde chaining commit 9ac1dd4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:38:48 2017 -0400 Remove old safecall code commit 0141061 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:34:49 2017 -0400 Correct memoization for `CallExpression` with `MemberExpression` callee commit 2766ce4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:59:30 2017 -0400 Eliminate `TildeCallExpression` node type commit f2c3328 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:06:19 2017 -0400 Check `typeof(x) === function` in safecalls commit c39b0d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:47:48 2017 -0400 Babel safe transforms, phase 2 - Avoid memoising simple identifiers commit 83ff2d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:22:26 2017 -0400 Ref cleanup commit c592784 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:17:12 2017 -0400 Perform block-body fixup for optional chaining in first ast pass commit 1134d99 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:09:41 2017 -0400 Cherry-pick block body fix from 2.3.0 commit c40d0a9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 23:48:26 2017 -0400 Preliminary babel safe transform impl commit 40317d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 21:20:10 2017 -0400 Missing branches of branching constructs now generate `undefined` instead of `null` Addresses lightscript/lightscript#45 commit 6b18454 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 17:28:25 2017 -0400 Converge optional member expressions with Babel, step 1 - Eliminate `SafeMemberExpression` node type - Allow `MemberExpressions` with `optional = true` - Change `CallExpression` safe flag from `safe` to `optional` commit 73c402f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:08 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.3 commit 8e3a391 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:10:51 2017 -0400 Fix for SafeMemberExpressions in ArrowFunctionExpressions See wcjohnson/lightscript#23 commit e99764b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:02 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.2 commit 6b9f6b7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:13:36 2017 -0400 Placeholder design changes - Mixing indexed and non-indexed placeholders is now illegal. - Non-indexed placeholder is like Kotlin `it` and always refers to the first arg no matter how many times it’s used. E.g.: `-> g(_, _)` is `f(arg0) -> g(arg0, arg0)`. Contrast with before where this would have made two different args. - Indexed placeholders refer to zero-indexed args and are not collapsed. E.g.: `-> _1` compiles to `f(arg0, arg1) -> arg1` - Spread placeholders can be used with either indexed or non-indexed placeholders and always generate a rest arg in the last position. commit 8ccd716 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:43 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.1 commit ca983c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:32:18 2017 -0400 Reversed pipe call support commit c4c91a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:14 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.0 commit 662ddcc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:23 2017 -0400 `pipeCall` tests commit 4d0e951 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:41 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-2 commit 02ad790 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:25:42 2017 -0400 `babel-types` patch: improve registration commit 50af726 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:24 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-1 commit 8e0a45a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:17:54 2017 -0400 Make sure babel is patched commit 356876f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:37 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-0 commit 571d6cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:04:50 2017 -0400 Pipe call ast transformation commit daf9a4d5846bd955bd547a2a3f8cb21f4d1ce5cb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:00:33 2017 -0400 Pipe operator transformation commit fbc0be5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:48:26 2017 -0400 Placeholder args commit 5fa8631 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:42:22 2017 -0400 Allow placeholder to be changed commit ee2f7a7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:20:23 2017 -0400 Support rest/spread placeholder args commit cd625f1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 19:41:02 2017 -0400 Initial placeholderArgs implementation + testing
commit e94333e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue May 15 00:04:48 2018 -0700 Convert rest to spread when implicitly inserting `super()` call - Fixes wcjohnson/lightscript#74 commit 295f213 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue May 15 00:03:13 2018 -0700 Move CHANGELOG to root package commit 30840da Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon May 14 23:46:45 2018 -0700 Implicit const for vanilla JS `for`/`in` loops. - Fixes wcjohnson/lightscript#66 commit 1c9ef82 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Nov 5 23:41:40 2017 -0500 @oigroup/babel-plugin-lightscript@3.1.0-alpha.2 commit b39a53f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Nov 5 23:40:18 2017 -0500 `try` changes commit e86f345 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 22:48:18 2017 -0400 @oigroup/babel-plugin-lightscript@3.1.0-alpha.1 commit 9f1b791 Merge: 7ac8e18 9d7ab88 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 22:46:38 2017 -0400 Merge branch 'feature/enhanced-try' into prerelease/3.1.0 commit 9d7ab88 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 22:45:16 2017 -0400 Enhanced `try` commit 7ac8e18 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:44:04 2017 -0400 @oigroup/babel-plugin-lightscript@3.1.0-alpha.0 commit 852c75b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:41:00 2017 -0400 Package fix commit e2597d9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:32:56 2017 -0400 Test fixup commit 8d2afde Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:25:45 2017 -0400 New `CatchExpression` transforms commit 2187800 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:25:18 2017 -0400 Revert change dropping `await` on `return` Reverses lightscript#23 `return await x` is semantically different from `return x`. The user should be in control of when he wants which semantics, rather than `await` implicitly being dropped. commit e577175 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 15:21:21 2017 -0400 Remove straggler files from merge commit 1e1c00f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 12:41:15 2017 -0400 3.0 commit 7818505 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:32:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.9 commit 5e922b2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:31:32 2017 -0400 Remove extraneous logging commit d504a9c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:10:27 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.8 commit 9274bb2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 25 00:09:11 2017 -0400 Fix for bound catchExprs commit 77a1b4d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:54:47 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.7 commit 8e30cfa Merge: 8c2ba15 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:52:54 2017 -0400 Merge branch 'feature/catch-expressions' into prerelease/3.0.0 commit 4102f4c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:50:18 2017 -0400 Options commit 7dedab3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:48:28 2017 -0400 Catch expr optimization commit 2810f87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:47 2017 -0400 `CatchExpression`s commit ab8ff83 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:26 2017 -0400 Tail into `catch` blocks commit 7da6b5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 24 23:11:11 2017 -0400 Export matching api commit 8c2ba15 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:18:17 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.6 commit 1e8181b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 22 15:10:27 2017 -0400 Added bang await arrow test commit fa3f459 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 21 13:56:58 2017 -0400 Re-disable `!(` commit 01e06c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 21:02:13 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.5 commit 9f7065c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 20:54:48 2017 -0400 Named exports no longer trigger stdlib imports - Fixes wcjohnson/lightscript#56 commit 1328737 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 20 16:12:19 2017 -0400 Implicitly return class declarations Addresses wcjohnson/lightscript#55 commit 409af7a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:51:36 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.4 commit 34da5a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 19 16:43:19 2017 -0400 Spaceless subscripts of bang calls commit 606c95f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 21:08:33 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.3 commit 2680b70 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:45:15 2017 -0400 Commaless import/export tests commit b49382f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:18:48 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.2 commit 94b9467 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:15:23 2017 -0400 Packaging updates commit 999023e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 20:03:42 2017 -0400 Update deps commit ee25f1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:12:03 2017 -0400 update README commit 0d80f0c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 19:05:47 2017 -0400 Catch up with Babylon 6 merge commit 5e48ddd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Oct 12 16:56:18 2017 -0400 Register function decls on entry - Fixes wcjohnson/lightscript#49 commit 984d72d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 21:38:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.1 commit 3dc9c90 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 11 01:24:02 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-beta.0 commit 2bbf09e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 10 20:40:36 2017 -0400 Safe spread optimizations commit 233f224 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:54:48 2017 -0400 `for..of` auto const Fixes wcjohnson/lightscript#41 commit f95f78b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:31:38 2017 -0400 Remove `whiteblock` commit b9ca11a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:51 2017 -0400 Tests related to parser changes re: flow casts commit 2a81a4f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 9 20:29:20 2017 -0400 Packaging: Use AUTHORS file commit 4b6ee6b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:31 2017 -0400 Tooling API updates commit 09ccb87 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 21:30:22 2017 -0400 Whiteblock early termination testing commit b20bd66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:35:29 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.6 commit 2c8446a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 16:26:13 2017 -0400 Remove `for-of` variable qualifier requirement wcjohnson/lightscript#38 commit 0ec702c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:40:55 2017 -0400 Allow bjects with single string literal keys in tail position commit c69f7e9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 15:26:38 2017 -0400 Changelog updates commit d329e69 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:18:02 2017 -0400 Add unit test for object with methods commit ee270bf Merge: e7a0f21 cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:56 2017 -0400 Merge branch 'feature/spread-loop' into prerelease/3.0.0 commit cb3f582 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Oct 8 01:13:38 2017 -0400 Spread loops commit e7a0f21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 22:53:16 2017 -0400 Add .gitattributes for syntax highlighting commit a70f9e1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Oct 7 15:56:26 2017 -0400 Tooling API (wip) commit 3936ca6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 23:54:56 2017 -0400 Compiler config cleanup - eliminated hack checking for test fixture in file path - Can pass `isLightScript: true` to Babel opts to force compile as LSC - Updated test suite commit 416c326 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 22:16:05 2017 -0400 Remove `pipeCall` wcjohnson/lightscript#36 commit 9578116 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:49:49 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.5 commit 1ccb6fb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Oct 6 17:04:21 2017 -0400 Test fixture for bangCall bug Re wcjohnson/lightscript#33 commit 8340c21 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Oct 4 16:52:27 2017 -0400 Code cleanup, part 2 commit 6e62f05 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:51:16 2017 -0400 Code cleanup commit 71e54e6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 20:50:55 2017 -0400 Parity with parser updates commit a20b583 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 17:13:26 2017 -0400 Update self-hosting to 3.0 commit fe31d8c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:03 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.4 commit 7b7dd39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:14:34 2017 -0400 Re-enable safe call by default commit fbb4ddc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 22:18:16 2017 -0400 Changelog updates commit 677f6b6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:18 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.3 commit 0510d65 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:14:36 2017 -0400 Make `enhancedComprehension` the default commit 787f2d7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:12:27 2017 -0400 Revert safe traversal policy - `safeCall` no longer enabled by default - Remove `?.(` syntax - Update changelog accordingly commit e2f3e68 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 19:57:33 2017 -0400 `toBlockArrowFunctionExpression` now preserves skinny arrows Addresses wcjohnson/lightscript#29 commit 8315dda Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:45 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.2 commit fe283a4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:08:25 2017 -0400 Changelog updates commit 8c6b3fc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:44:58 2017 -0400 `whiteblockPreferred` mode commit e39110d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:28 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.1 commit 9c2b173 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:10:15 2017 -0400 Splat comprehensions commit 4b4979e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:09:41 2017 -0400 Changelog commit d809a5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:57:21 2017 -0400 Throw on empty comprehensions commit 8b37b95 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:50:22 2017 -0400 Fix: `LabeledStatement` bodies now included in tail transforms commit dab8a33 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 19:07:51 2017 -0400 Enhanced comprehensions use `…` syntax commit f59cf36 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:24 2017 -0400 @oigroup/babel-plugin-lightscript@3.0.0-alpha.0 commit 585eb2d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:14:00 2017 -0400 packaging fixup commit f58c0e2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:59:53 2017 -0400 3.0 updates - `whiteblock` mode - `bangCall` on by default - `safeCall` on by default - `seqExprRequiresParen` by default commit 2eaefe3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:45:12 2017 -0400 Cleanup commit a246ed9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:16:38 2017 -0400 Add unit test for `UpdateExpression` in safe chain commit d62a44f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 20:01:27 2017 -0400 Add changelog commit 760ec66 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:23:40 2017 -0400 Use Babel `optional-chaining` algorithm for safe expressions commit 187231c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:22:43 2017 -0400 Misc cleanup commit cd7cdb0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 19:11:17 2017 -0400 Move safe transforms to a separate AST visitor pass commit 832cf9d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:40:19 2017 -0400 Restore unit test related to tilde chaining commit 9ac1dd4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:38:48 2017 -0400 Remove old safecall code commit 0141061 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 17:34:49 2017 -0400 Correct memoization for `CallExpression` with `MemberExpression` callee commit 2766ce4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:59:30 2017 -0400 Eliminate `TildeCallExpression` node type commit f2c3328 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:06:19 2017 -0400 Check `typeof(x) === function` in safecalls commit c39b0d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:47:48 2017 -0400 Babel safe transforms, phase 2 - Avoid memoising simple identifiers commit 83ff2d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:22:26 2017 -0400 Ref cleanup commit c592784 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:17:12 2017 -0400 Perform block-body fixup for optional chaining in first ast pass commit 1134d99 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 00:09:41 2017 -0400 Cherry-pick block body fix from 2.3.0 commit c40d0a9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 23:48:26 2017 -0400 Preliminary babel safe transform impl commit 40317d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 21:20:10 2017 -0400 Missing branches of branching constructs now generate `undefined` instead of `null` Addresses lightscript/lightscript#45 commit 6b18454 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 17:28:25 2017 -0400 Converge optional member expressions with Babel, step 1 - Eliminate `SafeMemberExpression` node type - Allow `MemberExpressions` with `optional = true` - Change `CallExpression` safe flag from `safe` to `optional` commit 73c402f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:08 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.3 commit 8e3a391 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:10:51 2017 -0400 Fix for SafeMemberExpressions in ArrowFunctionExpressions See wcjohnson/lightscript#23 commit e99764b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:02 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.2 commit 6b9f6b7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:13:36 2017 -0400 Placeholder design changes - Mixing indexed and non-indexed placeholders is now illegal. - Non-indexed placeholder is like Kotlin `it` and always refers to the first arg no matter how many times it’s used. E.g.: `-> g(_, _)` is `f(arg0) -> g(arg0, arg0)`. Contrast with before where this would have made two different args. - Indexed placeholders refer to zero-indexed args and are not collapsed. E.g.: `-> _1` compiles to `f(arg0, arg1) -> arg1` - Spread placeholders can be used with either indexed or non-indexed placeholders and always generate a rest arg in the last position. commit 8ccd716 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:43 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.1 commit ca983c3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:32:18 2017 -0400 Reversed pipe call support commit c4c91a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:14 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-alpha.0 commit 662ddcc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:23 2017 -0400 `pipeCall` tests commit 4d0e951 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:41 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-2 commit 02ad790 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:25:42 2017 -0400 `babel-types` patch: improve registration commit 50af726 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:24 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-1 commit 8e0a45a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:17:54 2017 -0400 Make sure babel is patched commit 356876f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:37 2017 -0400 @oigroup/babel-plugin-lightscript@2.3.0-0 commit 571d6cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:04:50 2017 -0400 Pipe call ast transformation commit daf9a4d5846bd955bd547a2a3f8cb21f4d1ce5cb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:00:33 2017 -0400 Pipe operator transformation commit fbc0be5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:48:26 2017 -0400 Placeholder args commit 5fa8631 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:42:22 2017 -0400 Allow placeholder to be changed commit ee2f7a7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:20:23 2017 -0400 Support rest/spread placeholder args commit cd625f1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 19:41:02 2017 -0400 Initial placeholderArgs implementation + testing
see lscdiag
tl;dr this is broken:
The text was updated successfully, but these errors were encountered: