loader: warn when the user imports a module with a thenable namespace
A module with a thenable namespace will most likely make the import fail so warn the user when it happens. As an example, if your entry file imports a thenable namespace and expects to continue execution after getting it, node will currently exit with no message.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines