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
let inline f (x, r:byref<_>) = r <- x
let mutable x = Unchecked.defaultof<_>
f (0, &x)
This crashes at runtime under a debug build as it tried to instantiate a Tuple with a reference type. In the release build that all get optimized away, so it works ok.
The text was updated successfully, but these errors were encountered:
Another byref<> bug (with #819)
This crashes at runtime under a debug build as it tried to instantiate a Tuple with a reference type. In the release build that all get optimized away, so it works ok.
The text was updated successfully, but these errors were encountered: