Open EricBishton opened 6 years ago
On the other hand, having multiple roots for files that are addressable from different OSes, but the sources are the same is useful:
e.g Classes having both /cygdrive/d/Prog/HaxeToolkit/haxe/lib/hxnodejs/4,0,9 and D:\Prog\HaxeToolkit\haxe\lib\hxnodejs\4,0,9.
Perhaps we can some up with a useful heuristic to figure out if the paths are "likely" to point to the same sources. Or, maybe it's OK as long as only one of the entries is addressable/findable in the current configuration.
It is too easy for folks to set up libraries incorrectly. In particular, multiple library roots, with multiple haxelib.json files should be flagged as errors, and, perhaps, automatically split into separate libraries.
For instance, this:
Which caused a user to not get proper resolution of methods (or build) within his project.