Bug 18490 – dspec_tester fails

Status
RESOLVED
Resolution
MOVED
Severity
normal
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-02-22T10:42:12Z
Last change time
2020-04-09T10:06:34Z
Assigned to
No Owner
Creator
Timothee Cour

Comments

Comment #0 by timothee.cour2 — 2018-02-22T10:42:12Z
see https://github.com/dlang/dlang.org/pull/2169#pullrequestreview-96041881 for context segfault on: + $(SPEC_RUNNABLE_EXAMPLE_RUN + --- + size_t fun(T...)(T t, string file = __FILE__) + { + import std.stdio; + writeln(file, " ", t); + return T.length; + } + assert(fun(1, "foo") == 2); // not 1 (IFTI) + assert(fun!int(1, "foo") == 1); // IFTI + ---
Comment #1 by pro.mathias.lang — 2020-04-09T10:06:34Z