digitalmars.D.bugs - [Issue 13781] New: Tuple assign should be nogc
- via Digitalmars-d-bugs (25/25) Nov 26 2014 https://issues.dlang.org/show_bug.cgi?id=13781
https://issues.dlang.org/show_bug.cgi?id=13781 Issue ID: 13781 Summary: Tuple assign should be nogc Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: bearophile_hugs eml.cc void main() nogc { import std.typecons: Tuple; alias T = Tuple!(string,"s"); T x; x = T.init; } dmd 2.067alpha: test.d(5,7): Error: nogc function 'D main' cannot call non- nogc function 'std.typecons.Tuple!(string, "s").Tuple.opAssign!(Tuple!(string, "s")).opAssign' --
Nov 26 2014