D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10787 - static ~this attributes position
Summary: static ~this attributes position
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords: pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2013-08-09 05:05 UTC by Henning Pohl
Modified: 2023-01-04 13:46 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Henning Pohl 2013-08-09 05:05:39 UTC
static ~this() nothrow pure @safe { }

Error: semicolon expected following function declaration
Comment 2 github-bugzilla 2013-08-11 18:59:14 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a0ec7d49ec19a247e12f7fdc939d11ca1ff8a91b
fix issue 10787 - static ~this attributes position

https://github.com/D-Programming-Language/dmd/commit/39554724b25513bd3e21ba1795fb61eead4cb850
Merge pull request #2460 from hpohl/10787

fix issue 10787 - static ~this attributes position
Comment 3 9999 2013-08-29 05:34:45 UTC
I'm not sure it's fixed.
See comments here:
https://github.com/D-Programming-Language/dmd/pull/2460
Comment 4 yebblies 2013-08-29 05:39:54 UTC
The presented test case passes, so it is fixed.  If there are other known cases please post them and reopen or (preferred) open a new bug report for them.
Comment 5 Henning Pohl 2013-08-29 08:10:44 UTC
This is not fixed completely, Andrei pulled a bit too fast. Take a look at my comment: https://github.com/D-Programming-Language/dmd/pull/2460
Comment 6 RazvanN 2023-01-04 13:46:59 UTC
Fixed by: https://github.com/dlang/dmd/pull/3612