Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface functions are not public as they should #3

Open
Hanmac opened this issue Oct 21, 2014 · 1 comment
Open

interface functions are not public as they should #3

Hanmac opened this issue Oct 21, 2014 · 1 comment

Comments

@Hanmac
Copy link

Hanmac commented Oct 21, 2014

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 ...

@mcheshkov
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants