Skip to content

Put OmittedType instead of null in VariableDeclaration.Type (make it non-optional again) #12588

@jcouv

Description

@jcouv

Per compat council, we should try and avoid making a field optional that was previously mandatory.
This will decrease the chances of NullReferenceException in consuming code (such as analyzers).

Metadata

Metadata

Assignees

Labels

Area-CompilersConcept-APIThis issue involves adding, removing, clarification, or modification of an API.Feature - TuplesTuplesResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions