Skip to content

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Jun 5, 2018

This adds a new matrix of tests for passing inref --> byref and so on.

It also clarifies the symmetry between inref (readonly) and outref (writeonly) and explicitly highlights the point where we weaken the rules around outref to allow reading from outref (see the RFC for why this is done, for compat purposes).

It also fixes one bug found by the matrix of tests and code review yesterday with @TIHan

Finally, it labels the byref<'T, 'Kind> and the ByRefKinds as for-library-use-only, though they don't disappear. After reviewing with @TIHan we concluded that for F# 4.5 the best plan was to do this, there is no need to make the more primitive form available for use by the user at this stage, there is nothing useful they can do with it that they can't do with inref, byref and outref and attempts to do so (e.g. user-defined tags) are neither useful nor under test.

@dsyme
Copy link
Contributor Author

dsyme commented Jun 5, 2018

@dotnet-bot test Ubuntu16.04 Release_fcs Build please

@dsyme dsyme merged commit 4a052ae into dotnet:master Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant