[haXe] Bug: haxedoc disallows identically named private classes

Daniel Cassidy lezekdan at gmail.com
Wed Jan 3 12:35:46 CET 2007


Hi Nicolas, List,

haxedoc seems to be confused by the presence of two private classes
with the same name, as illustrated by the following:

A.hx:
--------
class A {
	public function new () {
	}
}

private class C {
	var c:Int;
}
--------

B.hx:
--------
class B {
	public function new () {
	}
}

private class C {
	var c:String;
}
--------

haxe -neko test.n A B -xml test.xml
haxedoc test.xml

> Called from <null> line 1
> Called from tools/haxedoc/Main.hx line 137
> Called from tools/haxedoc/Main.hx line 35
> Called from haxe/rtti/XmlParser.hx line 62
> Called from haxe/rtti/XmlParser.hx line 216
> Called from haxe/rtti/XmlParser.hx line 187
> Uncaught exception - Incompatibilities between C in  and null


Thanks,
Dan

PS: Happy new year! :)



More information about the Haxe mailing list