www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19082] New: Cannot inline "...Slides.numberOfFullFrames",

https://issues.dlang.org/show_bug.cgi?id=19082

          Issue ID: 19082
           Summary: Cannot inline "...Slides.numberOfFullFrames",
                    "...Slides.gap"
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: the.mail.of.mi2 gmail.com

During dub release build I get the following errors:

/usr/include/dmd/phobos/std/range/package.d(8594,24): Error: function
`std.range.Slides!(cast(Flag)false, MapResult!(__lambda5,
immutable(ulong)[])).Slides.numberOfFullFrames` cannot inline function
/usr/include/dmd/phobos/std/range/package.d(8547,24): Error: function
`std.range.Slides!(cast(Flag)false, MapResult!(__lambda5,
immutable(ulong)[])).Slides.gap` cannot inline function

Unfortunately I cannot provide simpler example - simple sliding numeric array
worked.

--
Jul 13 2018