[Issue 8102] Error messages that point to the line numbers that lack the ending semicolon
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 19 19:44:23 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=8102
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution|--- |WORKSFORME
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
For:
class Foo
{
int x
void bar() { }
}
It now prints:
test.d(7): Error: semicolon needed to end declaration of `x`, instead of
`void`
test.d(5): `x` declared here
--
More information about the Digitalmars-d-bugs
mailing list