cyclic type declarations

Tuesday, 14 April 2026 · 2 messages
RS
Rob Stapper14 Apr 2026 09:59 #
Hi Christian, Just made the next observation: In case of cyclic type declarations the editor throws a "unknown-type:"-error. Module:M0 is a agregate of modules: M1 and M2, and declares a agregated type using type declarations of both imported modules. Modules M1 and M2 declare ther own type but M2 also imports agregated module: M0. This import of MO in M2 causes in this usecase an "unknown type:-error. This is unwanted. Hope it is an easy fix. mvgr. Rob Stapper
CG
Christian Grün14 Apr 2026 13:52 #
Quoted text · Rob Stapper · 1 line
> Just made the next observation: In case of cyclic type declarations the editor throws a "unknown-type:"-error.
I have created a GitHub issue to track this down [1]. Best, Christian [1] https://github.com/BaseXdb/basex/issues/2635
Quoted text · Rob Stapper · 10 lines
Von: Rob Stapper via BaseX-Talk <basex-talk at mailman.uni-konstanz.de> Gesendet: Dienstag, 14. April 2026 09:59 An: basex-talk at mailman.uni-konstanz.de Betreff: [basex-talk] cyclic type declarations Hi Christian, Just made the next observation: In case of cyclic type declarations the editor throws a "unknown-type:"-error. Module:M0 is a agregate of modules: M1 and M2, and declares a agregated type using type declarations of both imported modules. Modules M1 and M2 declare ther own type but M2 also imports agregated module: M0. This import of MO in M2 causes in this usecase an "unknown type:-error. This is unwanted. Hope it is an easy fix. mvgr. Rob Stapper

⚡Generated with XQuery