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

Release TypeNamespace when module/submodule is done

XMLWordPrintable

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

      We currently do not wipe TypeNamespace because it is used by AbstractTypeSupport.resolveType() after inference is done.

      Similar to YANGTOOLS-1197, we need to pick the source type during inference and store a replica of it in the type's StmtContext's local namespace. resolveType() then needs to pick the replica up and build it.

      Once that is done, add TypeNamespace to RootStatementContext.SWEPT_NAMESPACES.

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

              Created:
              Updated:
              Resolved: