D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18490 - dspec_tester fails
Summary: dspec_tester fails
Status: RESOLVED MOVED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Mac OS X
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 10:42 UTC by Timothee Cour
Modified: 2020-04-09 10:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Timothee Cour 2018-02-22 10:42:12 UTC
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 Mathias LANG 2020-04-09 10:06:34 UTC
Moved to https://github.com/dlang/tools/issues/393