dotnet / dotnet/vblang

Nullable References

Open
#355 94 comments 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Is there already a plan for supporting the C# 8 features related to nullable references?

What might this look like in VB?

`void Foo(Bar a, Bar? b) {}` ->
`Sub Foo(a As Bar, b As Bar?)`
or
`Sub Foo(a As Bar, Optional b As Bar)`
or even something else?

Even if you decided on the (breaking change?) Optional keyword then I suppose the IDE could support automatic conversion of the first syntax to save keystrokes.

There are bazillion details and corner cases, but I didn't see an existing issue on this topic, and I'm curious.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.