Given this JS, the expected behavior presently is that _STATIC will be appended to the static version since these would otherwise collide. Instead, we see a few different behaviors, I can't yet explain what is happening here:
Resulting Java (union type omittied), correctly with two fields:
@JsProperty(name = "unionProperty")
public static Foo.StaticUnionPropertyUnionType unionProperty_STATIC;
public Foo.UnionPropertyUnionType unionProperty;
(Discovered while testing #46)
Given this JS, the expected behavior presently is that
_STATIC
will be appended to thestatic
version since these would otherwise collide. Instead, we see a few different behaviors, I can't yet explain what is happening here:Example JS:
Resulting Java, with only one field and no
_STATIC
present on the static member:Example JS:
Resulting Java (union type omittied), correctly with two fields: