[Issue 12300] Deprecated variables still accessible using tupleof

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 6 06:25:57 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12300


Dicebot <public at dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at dicebot.lv


--- Comment #2 from Dicebot <public at dicebot.lv> 2014-03-06 06:25:53 PST ---
x-post from internal discussion:

-----
It clearly does not work in D2 for me:

$ dmd -de -run test.d 
test.d(17): Error: static assert  "s.var does not exist!"

You may have missed the fact that dmd2 uses different set of flags to control
deprecation behaviour.
-----

I think this is by design and works as intended.

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


More information about the Digitalmars-d-bugs mailing list