Page MenuHomeFeedback Tracker

Fix multi-line array declaration
Closed, ResolvedPublic

Description

The first array is correct, the second one is not but it should be, please fix it.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

GrosTon1 created this task.Oct 13 2019, 4:30 PM

I know this is subtle, but it's something that bothers me too.

Geez changed the task status from New to Assigned.Oct 15 2019, 3:16 PM
Geez added a subscriber: Geez.

Thank you for the report GrosTon1.
We will take a look at this internally.
Regards,
Geez

Jest added a subscriber: Jest.Oct 16 2019, 4:34 PM

FYI if you put a coma after the last entry it works (and I also think it's a good practice to do that).

const int myArray[2] = {
    0,
    1,
}
Geez closed this task as Resolved.Nov 12 2019, 2:27 PM
Geez claimed this task.

Hello Jest.
The issue has been fixed internally and will be fixed in one of the future updates.
Regards,
Geez