dbrattli / Fable.Reaction

Fable Reaction - Reactive (AsyncRx) for F# Elmish and Fable
http://fablereaction.rtfd.io/
MIT License
142 stars 19 forks source link

Add type annotations for Asycn.Sleep for Fable on net5.0 #84

Closed juselius closed 4 years ago

juselius commented 4 years ago

For some incomprehensible reason Fable fails to compile FSharp.Control.AsycRx under dotnet 5.0.100-rc.1.20452.10. Compilation fails because:

SHARP: A unique overload for method 'Async.Sleep' could not be determined based on type information 
prior to this program point. A type annotation may be needed.

Everything compiles straight without problems with dotnet build, but Fable trips on missing type annotations.