← Back to index
|
Original Bugzilla link
Bug 15103 – Improve declaration / initialization syntax error message
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-23T15:26:15Z
Last change time
2020-07-31T21:28:13Z
Keywords
bootcamp, diagnostic, pull
Assigned to
adela.vais99
Creator
Luís Marques
Comments
Comment #0
by luis — 2015-09-23T15:26:15Z
-- struct Foo { this(int x) {} } void main() { Foo foo(42); } (8): Error: found 'foo' when expecting ';' following statement -- The problem is not that 'foo' was found, since `Foo foo` is fine, as is `Foo foo = Foo(42)`.
Comment #1
by dlang-bot — 2020-07-29T14:59:22Z
@adelavais created dlang/dmd pull request #11477 "Fix Issue 15103 - Improve declaration / initialization syntax error message" fixing this issue: - Issue 15103 - improved message for incorrect instantiation - Issue 15103 - improved message for incorrect instantiation - Issue 15103 - improved message for incorrect instantiation - Issue 15103 - improved message for incorrect instantiation - Fix Issue 15103 - Improve declaration / initialization syntax error message
https://github.com/dlang/dmd/pull/11477
Comment #2
by dlang-bot — 2020-07-31T21:28:13Z
dlang/dmd pull request #11477 "Fix Issue 15103 - Improve declaration / initialization syntax error message" was merged into master: - 54a0f5459cd893f67a1a79ae46037462c9ac1dd8 by Adela Vais: Fix Issue 15103 - Improve declaration / initialization syntax error message
https://github.com/dlang/dmd/pull/11477