haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Incompatibilities between haxe.Rest in cs and java (could not merge definition)

Open Gama11 opened this issue 2 years ago • 2 comments

Haxe dev (3cb7fe4) is currently throwing an exception during API doc generation (dox CI against nightlies is broken):

std/haxe/rtti/XmlParser.hx:289: characters 5-10 : Uncaught exception Incompatibilities between haxe.Rest in cs and java (could not merge definition)

Gama11 avatar Aug 15 '21 17:08 Gama11

This happens because of various java-specific @:from methods on haxe.Rest: https://github.com/HaxeFoundation/haxe/blob/3fac24b5e2465af7ae26fb533f5ef6d93cf29825/std/java/_std/haxe/Rest.hx#L40-L45 Other targets don't have those. And dox fails if amount of @:from methods does not match on various targets. Fencing them with #if !doc_gen doesn't work because java's stdlib depends on them.

RealyUniqueName avatar Nov 29 '21 15:11 RealyUniqueName

Is this will be required to fix to get documentation for 4.3 release?

RblSb avatar Apr 07 '22 18:04 RblSb

Could something like @:nodoc or other work here ?

ncannasse avatar Jan 29 '23 15:01 ncannasse