Bug 1707 – '==' in TemplateParameterList in IsExpression causes segfault

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-12-01T19:14:00Z
Last change time
2015-06-09T01:14:23Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
dhasenan

Comments

Comment #0 by dhasenan — 2007-12-01T19:14:50Z
--- template types (T) { static if (is (T V : V[K], K == class)) { static assert (false, "assoc"); } static const int types = 4; } int i = types!(int); --- The output: is_expr.d(3): no identifier for template value parameter Segmentation fault (core dumped)
Comment #1 by bugzilla — 2008-02-16T06:01:44Z
Fixed dmd 1.026 and 2.010