Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1452

PrefixToModule has cognitive issues

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 10.0.0
    • None
    • parser
    • None

      PrefixToModule is unlike any other ParserNamespace: it specifies lookup methods, which are referenced by StatementStream implementations. Otherwise it acts as your normal namespace for lookups from statement implementations.

      This fusion of contracts is an obvious bug: while the two views are related, their missions are not.

      Separate out the StatementStream contract from the ParserNamespace contract and clean up whatever fallout there is.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: