Skip to content

Struct Records and Unions have ValueType super type #3208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 16, 2017
Merged

Struct Records and Unions have ValueType super type #3208

merged 2 commits into from
Jun 16, 2017

Conversation

thinkbeforecoding
Copy link
Contributor

This is a fix for #2609 .

It works with Nullable and the example with UnmanagedMemoryAccess from FileMappings I added in the comments.

I should probably add tests, but I'll need a hint to find where other tests on the topic can be found.

@thinkbeforecoding
Copy link
Contributor Author

I'm adding conformance tests to check that Nullable with struct records and unions compile correctly

@thinkbeforecoding
Copy link
Contributor Author

The NT Release ci part2 build is failing because the connection with the agent went offline:
04:12:58 Agent went offline during the build
04:12:58 ERROR: Connection was broken: java.io.IOException: Connection aborted

Appart from that, the PR seems ok.

@thinkbeforecoding
Copy link
Contributor Author

Now checks pass !

@dsyme
Copy link
Contributor

dsyme commented Jun 15, 2017

LGTM - thanks @thinkbeforecoding !

@dsyme dsyme merged commit d1ba9ff into dotnet:master Jun 16, 2017
@dsyme
Copy link
Contributor

dsyme commented Jun 16, 2017

Thanks again @thinkbeforecoding

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.

3 participants