[Issue 6813] Yet another "cannot get frame pointer" error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 20 20:22:45 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6813



--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2011-10-20 20:21:45 PDT ---
It shrinks down to this. Compile with -inline:

struct Foo(T)
{
        Foo opSlice(size_t a, size_t b)
        {
            return Foo(_indices[a..b]);
        }

    T _indices;
}

struct SortedRange(alias pred)
{
    SortedRange opSlice(size_t a, size_t b)
    {
        return SortedRange();
    }
}

void main() {
    auto ind = SortedRange!({ })();
    auto a = Foo!(typeof(ind))();
}

It happens on Windows, too, and is not a backend bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list