after add @:expose , -dce=full will not work?
is this a bug or ?
after add @:expose , -dce=full will not work?
is this a bug or ?
@:expose
implies @:keep
since rc.1.
ok,got it.
but I don’t want to keep every function to @:keep ,
can we have an options or something else?
because my server /client use same code ,
what I want to expose client code instead of all code between server /client.
haha…
Use conditional compilation to omit part of the class maybe?
If you expose a class the compiler can’t guess what you want to keep from it…
Compile with -D server
and:
#if server
function onServerOnly() {
...
}
#end
© 2018-2020 Haxe Foundation - Powered by Discourse