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

Release TypeNamespace when module/submodule is done

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0
    • parser

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: