You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
weee okay so the problem is the resolve hook. the actual error being generated is (as i said earlier by coincidence) an early error. it is trying to resolve the test file, but since the resolve hook just returns an empty string, it won't work.
if the loader is changed to this it works cc @franher
Activity
devsnek commentedon Nov 6, 2018
resolution errors are "early" errors, meaning they occur before evaluation. to test this you can spawn a child process and test the stdout.nvm i see what you mean now, i'm looking into it.
franher commentedon Nov 6, 2018
PR with the test case ready to land as soon this issue is resolved: #24183
mhdawson commentedon Nov 6, 2018
@MylesBorins who is the best person to ask to take a look at this to confirm if our understanding that this is a bug is correct?
devsnek commentedon Nov 6, 2018
@mhdawson i'm looking into it now. i can confirm that not being able to catch() this is a bug.
mhdawson commentedon Nov 6, 2018
@devsnek thanks!
devsnek commentedon Nov 6, 2018
weee okay so the problem is the resolve hook. the actual error being generated is (as i said earlier by coincidence) an early error. it is trying to resolve the test file, but since the resolve hook just returns an empty string, it won't work.
if the loader is changed to this it works cc @franher
franher commentedon Nov 6, 2018
ohh I see @devsnek Thank you for your support.
I've just pushed the changes to the PR with the proper resolve hook.
I close this issue.