[Issue 21017] New: Tuple fails with inout and -allinst
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 6 07:51:04 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21017
Issue ID: 21017
Summary: Tuple fails with inout and -allinst
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: uplink.coder at gmail.com
The following code will cause the compiler to ICE, when compiled with -allinst.
import std.typecons : Tuple;
pragma(msg, is(Tuple!(inout int)));
This is due to an erroneous function definition surviving until
code-generation.
Opened in Phobos and not in DMD since it can be workaround in Phobos.
--
More information about the Digitalmars-d-bugs
mailing list