www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - debug{{}} / version{{}}

reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fails to compile: "Declaration expected, not '{'"
#
# debug{
#       {
#            static assert(0);
#       }
# }
#

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCXW5J3w+/yD4P9tIRAmfCAJ0eFf4GhOcz8upLyUVUs5SQrFXFdACeK91b
ExfFf0flUFzLnIU7MIZjAL0=
=cWH5
-----END PGP SIGNATURE-----
Apr 13 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Kuehne schrieb am Wed, 13 Apr 2005 21:08:58 +0200:
 Fails to compile: "Declaration expected, not '{'"
 #
 # debug{
 #       {
 #            static assert(0);
 #       }
 # }
 #

Scarp that, one can't use anonymous scopes at module level. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCXXCn3w+/yD4P9tIRAqklAKDD/ap2QU10tlEi9Gqu7TSATnO2swCgmDo5 izgtQxIAzzOIBMjZ/PFYZzI= =pZrf -----END PGP SIGNATURE-----
Apr 13 2005