Skip to content

CS1003 improved clarity for constant values #44292

@sharwell

Description

@sharwell

Version Used: 16.6 Preview 6

Steps to Reproduce:

class C {
  int value 5;
}

Expected Behavior:

Syntax error, '=' expected

Actual Behavior:

Syntax error, ',' expected

Metadata

Metadata

Assignees

Labels

Area-CompilersConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.help wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions