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
TypeError: promise.then is not a function
at Object.exports.thenImpl (/home/harry/code/ps-scratch/output/Effect.Promise/foreign.js:2:18)
at /home/harry/code/ps-scratch/output/Effect.Promise/index.js:55:29
at /home/harry/code/ps-scratch/output/Data.Function/index.js:16:24
at /home/harry/code/ps-scratch/output/Main/index.js:11:70
I'm not sure if this is fixable but it may be worth documenting, at least.
The text was updated successfully, but these errors were encountered:
Because promises of promises are automatically "flattened", any nesting of promises is likely to lead to runtime errors. Consider:
which, when run, outputs this:
I'm not sure if this is fixable but it may be worth documenting, at least.
The text was updated successfully, but these errors were encountered: