[Issue 7846] Forward referenced storage class is not applied in certain cases

2020-08-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7846

Mathias LANG  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||pro.mathias.l...@gmail.com
 Resolution|--- |FIXED

--- Comment #3 from Mathias LANG  ---
Fixed in v2.084:

```
2.063   to 2.083.1: Success with output:
-
int
true
const(int)
false
-

Since  2.084.1: Success with output:
-
const(int)
false
const(int)
false
-
```

--


[Issue 7846] Forward referenced storage class is not applied in certain cases

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7846


SomeDude lovelyd...@mailmetrash.com changed:

   What|Removed |Added

 CC||lovelyd...@mailmetrash.com


--- Comment #1 from SomeDude lovelyd...@mailmetrash.com 2012-04-21 11:03:06 
PDT ---
I don't understand. I have to add const int x; at the beginning in order for
this test to pass.
Then I get:
PS E:\DigitalMars\dmd2\samples dmd -c bug.d
const(int)
false
bug.d(11): Error: declaration bug.main.x is already defined
const(int)
false

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---