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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Nick Treleaven <[email protected]> ---
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