[Issue 11245] [REG 2.063] Can't access length of static arrays from within classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 13 11:46:55 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11245



--- Comment #2 from Benjamin Thaut <code at benjamin-thaut.de> 2013-10-13 11:46:54 PDT ---
The length of f is known at compile time. There is no need for a this pointer
to access it. Also it works if you put the same code into a regular function.
It stops working inside methods. Additionaly this is a regression. It used to
work in dmd 2.060.

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


More information about the Digitalmars-d-bugs mailing list