Skip to content

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Jan 31, 2020

…ableReferenceTypeModifier

Per API review

@jcouv jcouv self-assigned this Jan 31, 2020
@jcouv jcouv added this to the 16.5.P3 milestone Jan 31, 2020
@jcouv jcouv marked this pull request as ready for review January 31, 2020 06:07
@jcouv jcouv requested a review from a team as a code owner January 31, 2020 06:07
AllowDefaultLiteral = 1 << 7,

/// <summary>
/// Append '!' to non-nullable reference types.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we care about this one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think this is correct. That's how the spec describes such types:

The non_nullable_reference_type in a nullable_reference_type must be a non-nullable reference type (class, interface, delegate or array), or a type parameter that is constrained to be a non-nullable reference type (through the class constraint, or a class other than object).

@jcouv
Copy link
Member Author

jcouv commented Feb 3, 2020

@333fred for another review. Tiny PR to address feedback from API review. Thanks

@jcouv jcouv merged commit be0eb67 into dotnet:master Feb 3, 2020
@jcouv jcouv deleted the rename-option branch February 3, 2020 21:49
333fred added a commit to 333fred/roslyn that referenced this pull request Feb 6, 2020
* dotnet/master: (918 commits)
  Pure null test on unconstrained type (dotnet#41384)
  Fix file headers, bootsrap build issues.
  Make `elementLocations` accept an array of nullable locations in the public api.
  Learn from non-null tests on as operator (dotnet#41419)
  Use Microsoft.NET.Sdk.WindowsDesktop for XAML projects (dotnet#40234)
  Address feedback.
  Introduce `GetRequiredBinder`.
  Add missing `NotNullWhen` annotations.
  Annotate more of the binder
  Add version of zlib library to deterministic build inputs (dotnet#41385)
  [master] Update dependencies from dotnet/arcade (dotnet#41354)
  Simplify
  Simplify
  Do not simplify interpolation expressions on implicit receivers.
  Fix local function crash + add tests
  Substituted symbol equality (dotnet#41123)
  Fix test failures
  Rename from IncludeNonNullableReferenceTypeModifier to IncludeNotNullableReferenceTypeModifier (dotnet#41332)
  Set TEMP environment variable to $TempDir on CI machines (dotnet#41361)
  Document placeholders
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants