[Issue 16590] Wrong di generation for ref methods

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 25 06:24:29 PDT 2016


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

--- Comment #5 from Satoshi <satoshi at rikarin.org> ---
struct Foo(size_t Size = 42 / magic()) {

}


size_t magic() {
    return 42;
}


This cannot resolve magic() function at compile time.

--


More information about the Digitalmars-d-bugs mailing list