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

Nick Treleaven <n...@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@geany.org

--- Comment #11 from Nick Treleaven <n...@geany.org> ---
struct S {
    string stringof;
}

// Issue 14237
class MyClass
{
        void init() {};
}

`init` and `stringof` should be required to be `static`, as they are expected
to work without an instance. They should probably not be allowed to be `void`
functions either.

--

Reply via email to