Comment #0 by leandro.lucarella — 2012-03-13T04:25:46Z
Reduced testcase:
---
module test;
class P
{
void f(int n) in {
assert (n);
} body { }
}
class D: P
{
void f(int n) in { } body { }
}
---
Error (only when compiling with -inline):
---
test.d(5): Error: function test.D.f cannot get frame pointer to f
---
Not using -inline makes it compile. Removing the empty in {} contract in D, makes it compile.