[Issue 1279] const/invariant functions don't accept const/invariant return types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 22 15:17:30 PDT 2007


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


brunodomedeiros+bugz at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brunodomedeiros+bugz at gmail.c
                   |                            |om




------- Comment #2 from brunodomedeiros+bugz at gmail.com  2007-06-22 17:17 -------
Nor even variables declared at module scope:
---- ----
  module mod;
  invariant(char)[] p;
----
mod.d(2): Declaration expected, not '('


-- 



More information about the Digitalmars-d-bugs mailing list