mcheshkov/haxelint

interface functions are not public as they should

Opened this issue · 1 comments

having an interface like that

interface Formatter {
    function remove(func : String -> js.JQuery) : Void;
    function format(jquery : js.JQuery, domain : String, code : Integer) : Void;
}

haxelint does say that the methods should begin with _ because it thinks that they are private,
but if i implement that interface in a class, the functions need to be public

so the best way if haxelint does treat the functions inside an interface as public ...

Thanks for your feedback!
I agree, interface methods should be treated as public.