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
The following code throws TypeError: Cannot read property 'constructor' of null. If you remove the invincible all works well.
moduleTest.MainwhereimportEffect.AffimportPreludeimportControl.Parallel (parSequence_)
importEffect (Effect)
importEffect.Console (log)
main::EffectUnit
main = do
launchAff_ do
parSequence_
[ do
invincible do
delay $ 100.0 # Milliseconds
, do
delay $ 50.0 # Milliseconds
throwError $ error "hi3"
]
The full stack trace:
TypeError: Cannot read property 'constructor' of null
at Object.isLeft (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/index.js:76:112)
at join (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:720:16)
at /home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:778:19
at /home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:669:29
at runEff (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:80:7)
at run (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:496:15)
at /home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:333:19
at drain (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:120:9)
at Object.enqueue (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:141:11)
at Timeout._onTimeout (/home/felix/projects/dn3010/aff-bug-report/output/Effect.Aff/foreign.js:330:27)
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The following code throws
TypeError: Cannot read property 'constructor' of null
. If you remove theinvincible
all works well.The full stack trace:
The text was updated successfully, but these errors were encountered: