You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a class defined in java/com/foo/lib/Thing.java:
package com.foo.lib;
public class com.foo.lib.Thing {
... some methods ...
}
It transpiles just fine.
I have another class in java/com/foo/project/common/MyThing.java:
package com.foo.project.common;
public class MyThing extends com.foo.lib.Thing {
... methods making calls to methods from Thing ...
}
This works fine compiled with Java but It fails to transpile with JSweet, saying:
cannot find name 'Thing' at (every line that calls a method inside Thing)
If I move "Thing" to be in java/com/foo/project/common or even java/com/foo/project then it'll transpile just fine even if I don't change the path.to.Thing after "extends".
It seems like JSweet only looks up the directory structure for classes to extend and not the defined path.
The text was updated successfully, but these errors were encountered:
Using the latest JSweet...
I have a class defined in
java/com/foo/lib/Thing.java
:It transpiles just fine.
I have another class in
java/com/foo/project/common/MyThing.java
:This works fine compiled with Java but It fails to transpile with JSweet, saying:
If I move "Thing" to be in
java/com/foo/project/common
or evenjava/com/foo/project
then it'll transpile just fine even if I don't change the path.to.Thing after "extends".It seems like JSweet only looks up the directory structure for classes to extend and not the defined path.
The text was updated successfully, but these errors were encountered: