-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
Description
Fable 4.25.0 no longer supports Async.RunSynchronously and compilation fails on this line:
FSharpPlus/src/FSharpPlus/Control/Comonad.fs
Lines 15 to 19 in e280cfe
| static member Extract (x: Async<'T>) = | |
| #if FABLE_COMPILER | |
| Async.RunSynchronously x | |
| #else | |
| Async.AsTask(x).Result |
Not sure what a recourse should be here, maybe a runtime error in FABLE_COMPILER version as a last resort?
Known Workarounds
Fable 4.24.0 works fine.
Expected behavior
Everything compiles
Actual behavior
Compilation fails with error
FSharpPlus.1.6.1\Control\Comonad.fs(17,8): (17,32) error FABLE: Microsoft.FSharp.Control.FSharpAsync.RunSynchronously (static) is not supported by Fable
Are you willing to help with a pull-request?
Yes, but I don't know what the fix should be