Question: oh as in convert to a function expression?

Asked By
Asked At
2018-02-11 23:26:00

Found 15 possible answers.

User Answered At Possible Answer
andarist 2018-02-11 23:26:06 yeah
loganfsmyth 2018-02-11 23:26:21 in this case it's fine because it'll still serialize as a function expression
with parens
export default (function(){});
andarist 2018-02-11 23:28:44 hm, ok - need to re-check 2morrow what caused the issue for me then i might have converted this to declaration prematurely
loganfsmyth 2018-02-11 23:31:17 sounds good
andarist 2018-02-11 23:32:38 wouldnt be able to sleep :sweat_smile: so ive checked it now is there some method like path.canBeScopeBoundary ? lolz, ive registered a binding on that tricky expression instead of on its parent this makes reasoning about transforms even harder :wink: somewhere along the transformations ive lost the associated binding :< because i havent named this tricky expression i didnt take into an account such situation, didnt know that such expression might pop up at export declaration position
loganfsmyth 2018-02-11 23:40:52 .isScope I think? scopes are hard though
andarist 2018-02-11 23:41:57 yeah, i see that - would be great to have them auto-synced like in all cases :wink:
loganfsmyth 2018-02-11 23:42:33 agreed
andarist 2018-02-11 23:42:41 there is also isScopeable , do u know the difference?
loganfsmyth 2018-02-11 23:42:48 really I wish they didn't exist at all, but making that fast would be real tough
andarist 2018-02-11 23:44:13 yeah, agreed
loganfsmyth 2018-02-11 23:45:52 Scopeable is the alias: , and isScope checks those using the chaining between NodePath and babel-types is hard to follow :disappointed: indirectly via
hzoo 2018-02-12 00:21:15 we are free to change everything if we have to
hulkish 2018-02-12 01:34:13 hi, i’d like to know if this is desired still: im curious... what is powering babel-bot ? the bot that auto manages the babel issues etc? did it anyway lol if so, i’d like to work on it
hzoo 2018-02-12 14:01:22 , uh the aws thing but @drewml has been busy so i want to move it to probot so it's easier to deploy since we never update it

Related Questions