# # template square(typeof(x) x){ # const square = x * x; # } # # const b = square!(1.2); #
Fixed DMD 0.169
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail@puremagic.com schrieb am 2006-10-06: > http://d.puremagic.com/issues/show_bug.cgi?id=405 > # > # template square(typeof(x) x){ > # const square = x * x; > # } > # > # const b = square!(1.2); > # Added to DStress as http://dstress.kuehne.cn/nocompile/t/typeof_14_A.d http://dstress.kuehne.cn/nocompile/t/typeof_14_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFLlAULK5blCcjpWoRAnKIAJ90zf9Q80eMgHvlWE/6j/kOyBOASACeP1H0 jhvVP+ddgSeW5jQCJ4Gl8R4= =e2j0 -----END PGP SIGNATURE-----
dlang-community/libdparse pull request #420 "Fix #405: Named entities not lexed correctly" was merged into master: - 225a26bb4a75e02569e7a534860100f55a7f4341 by Jozef Rien: Fix 405: Named entities not lexed correctly That will close #405. Co-authored-by: MoonlightSentinel <moonlightsentinel@disroot.org> (Rebased and extended from PR #412) https://github.com/dlang-community/libdparse/pull/420