[Issue 3605] Compiler accepts invalid variable declaration, which does not link

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 11 05:54:06 PST 2009


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


Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #5 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2009-12-11 05:54:05 PST ---
That's a good point. I'd forgotten about .di files. But still, I think it
doesn't make sense to allow empty *nested* function declarations. Nested
functions are only visible inside the enclosing function scope, and as such
wouldn't be included in a .di file.

Anyway, that's another discussion. I'm marking this as invalid.

-- 
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