https://issues.dlang.org/show_bug.cgi?id=12643
Justin Whear <jus...@economicmodeling.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jus...@economicmodeling.com --- Comment #1 from Justin Whear <jus...@economicmodeling.com> --- The array literal will trip in this case. This test code compiles with the latest git head (v2.066-devel-8bee69a): unittest { void ensureNoGC() @nogc { int[] a1; auto a2 = a1.dropOne; auto s1 = "hello"; auto s2 = s1.dropOne; } } --