will generate /other/A.cs.
However, adding another class,
package some;
@:native("other.A") class A { }
@:native("other.B") class B { }
causes the target to generate /some/A.cs, hough with the correct namespace ~
// ...
namespace other {
public class A { /* ... */ }
public class B { /* ... */ }
}
The code will remain functional (since C# does not rely on source file paths) but it's a little strange to find the output file in different locations depending on amount of things in it.
will generate
/other/A.cs
. However, adding another class,causes the target to generate
/some/A.cs
, hough with the correct namespace ~The code will remain functional (since C# does not rely on source file paths) but it's a little strange to find the output file in different locations depending on amount of things in it.