https://issues.dlang.org/show_bug.cgi?id=23983
FeepingCreature changed:
What|Removed |Added
CC||default_357-l...@yahoo.de
--- Comment #7
https://issues.dlang.org/show_bug.cgi?id=23983
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=23983
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #6 from
https://issues.dlang.org/show_bug.cgi?id=23983
--- Comment #5 from ryuukk_ ---
> A human could guess the problem is at line 8, but formally, the else branch
> is not required to have braces, and the } after the else branch could close
> the main function.
You don't understand, let me bring
https://issues.dlang.org/show_bug.cgi?id=23983
--- Comment #4 from Dennis ---
(In reply to ryuukk_ from comment #3)
> In example 2, it complains at bunch of things, then at the end it says
> closing braces at line 21; but the problem is actually at line 8
A human could guess the problem is at
https://issues.dlang.org/show_bug.cgi?id=23983
--- Comment #3 from ryuukk_ ---
I don't know what the right wording is called
In example 2, it complains at bunch of things, then at the end it says closing
braces at line 21; but the problem is actually at line 8
Now imagine if you have lot more
https://issues.dlang.org/show_bug.cgi?id=23983
Dennis changed:
What|Removed |Added
CC||dkor...@live.nl
Hardware|x86_64
https://issues.dlang.org/show_bug.cgi?id=23983
--- Comment #1 from ryuukk_ ---
Example 2:
```
void main()
{
int stuff = 0;
version (Poxis)
{
stuff++;
}
else
stuff++;
}
version (Poxis)
{
stuff++;
}
else
{
stuff++;
}
https://issues.dlang.org/show_bug.cgi?id=23983
ryuukk_ changed:
What|Removed |Added
Keywords||diagnostic
--