[Issue 22239] Can't migrate from postblits if they are used without frame pointer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 26 10:17:34 UTC 2021


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

--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Hmmm, this code fails also:

struct PostBlitted(alias al) 
{                                                                               
  this(this){}
  void x(){} //a member function so that an instance contains a frame pointer
}

void main()
{
  PostBlitted!(x => x) a;
  a.f;
}

void f(T)(T x)
{
    T y;
}

--


More information about the Digitalmars-d-bugs mailing list