Bug 405 – typeof in TemplateParameterList causes compiletime segmentfault

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-10-06T15:49:11Z
Last change time
2020-07-22T21:39:40Z
Assigned to
Walter Bright
Creator
Thomas Kühne

Comments

Comment #0 by thomas-dloop — 2006-10-06T15:49:11Z
# # template square(typeof(x) x){ # const square = x * x; # } # # const b = square!(1.2); #
Comment #1 by bugzilla — 2006-10-10T03:32:03Z
Fixed DMD 0.169
Comment #2 by thomas-dloop — 2006-10-12T10:15:58Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] 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-----
Comment #3 by dlang-bot — 2020-07-22T21:39:40Z
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 <[email protected]> (Rebased and extended from PR #412) https://github.com/dlang-community/libdparse/pull/420