Nested namespaces are broken in JsLIGO

As in https://tezos-dev.slack.com/archives/GKH15NM8W/p1688411430625769, if I create

namespace A {
  export namespace B {
  export type t<x> = list<x>;
  }
}

type t<v> = A.B.t<v>;

I'm getting Invalid access. A variable is expected despite its a valid code