[Issue 17961] std.uni does not compile with -unittest -dip1000
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 3 06:59:29 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17961
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry.olsh at gmail.com
--- Comment #4 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
(In reply to hsteoh from comment #0)
> Code:
> -------
> /* test.d */
> import std.uni;
> -------
>
> Compile command:
> -------
> dmd -dip1000 -unittest -c test.d
> -------
>
> Compiler output:
> -------
> /usr/src/d/phobos/std/uni.d(2554): Error: reference to local variable
> __tmpfordtor853 assigned to non-scope parameter this calling
> std.uni.InversionList!(GcPolicy).InversionList.byInterval
> /usr/src/d/phobos/std/uni.d(1976): Error: template instance
> std.uni.InversionList!(GcPolicy) error instantiating
> -------
>
> This used to work fine until recently. Will post an update once I finish git
> bisecting.
Most curious. But AFAIK Phobos is not compiled with -dip1000 yet.
--
More information about the Digitalmars-d-bugs
mailing list