For example:
"
if(1)
{
int i = 0;
}
if(1)
{
int i = 0;
}
"
is a valid code sequence, but:
"
{
int j = 0;
}
{
int j = 0;
}
" Is invalid due to 'multiple declarations' of j.
This is annoying.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 7
- Category
- General
Steps To Reproduce
Already described in description.
Event Timeline
Comment Actions
Hello colourScreen.
According to the devs, this is intended. Only flow expressions create scopes.
Regards,
Geez