[Issue 17748] extern(C) do nothing on struct methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 20 16:14:23 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17748

--- Comment #9 from anonymous4 <dfj1esp02 at sneakemail.com> ---
What is the reason for breakage? For convenience attributes applied in bulk
silently skip members they are not applicable to:
This works:
---
struct A
{
  final: int a;
}
---
But if applied on per member basis they give error:
---
struct A
{
  final int a; //error
}
---

--


More information about the Digitalmars-d-bugs mailing list