Invalid CS8602 calling base constructor when using primary constructors #68384
Labels
4 - In Review
A fix for the issue is submitted for review.
Area-Compilers
Bug
New Feature - Primary Constructors
New Language Feature - Nullable Reference Types
Nullable Reference Types
Milestone
Version Used:
4.7.0-1.final
Steps to Reproduce:
https://sharplab.io/#v2:EYLgtghglgdgPgYhgVwDaosVBTABNmTHAWACgyABAJlwCEAKCgRgAZcBnASjIG8zcBuCgGYhrXAGVcPXAHNsAFwDcuAL64AvByVlVZSjQDC9WrmDdSg3CDr1gAOgkWA9M6sCAerkMSAHADYWGgATbAAnbAAzcIIAYzwAe0jcCFwABwT2digsAE9cFHRcCOiImHjefkFmNgAVek5NAD4zRxVXYuwwBIA3WFlcBQALKHZcZHYIeVxIAGtsMeG8YKgpmEyFKFjcFcm0tOwIMN0yIA==
Diagnostic Id:
CS8602
Expected Behavior:
No diagnostic. The code that produces this diagnostic was fine before I invoked the "convert to primary constructor" fix.
Actual Behavior:
Incorrect diagnostic.
The text was updated successfully, but these errors were encountered: