Open
Description
I'm not sure why and I might be wrong, but the following fails to compile:
public class ThingA {
void somefunc() {
new ArrayDeque<String>();
}
}
produces the error property 'ArrayDeque' does not exist on type 'typeof util'
from
/* Generated from Java with JSweet 2.4.0-SNAPSHOT - http://www.jsweet.org */
namespace jsweettest.moda {
export class ThingA {
somefunc() {
new java.util.ArrayDeque<string>();
}
}
ThingA["__class"] = "jsweettest.moda.ThingA";
}
I see ArrayDeque in the source jar bundle, so I don't think I'm using the wrong version.
I'm not sure of a workaround.