8000 ArrayDeque inaccessable (2.0.0) · Issue #61 · j4ts/j4ts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
ArrayDeque inaccessable (2.0.0) #61
Open
@rendaw

Description

@rendaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0