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

Reconsider DefaultEffectiveStatement definition

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • High
    • Resolution: Unresolved
    • None
    • 14.0.0
    • parser
    • None

    Description

      Our current definition of DefaultEffectiveStatement (and declared statement by extension) requires users to manually parse the value to correlate it to the actual value.

      What we really would like to say is that both these have a bound value, which is bound the parent type – i.e. the bracket is EffectiveStatement<Object>, specialized to Uint16 for uint16 types.

      Since we are required to parse the argument when a statement is defined, this needs some more thought as to the inference mechanics – i.e. before we can successfully create the statement we need to have its parent statement perform type inference to resolve the base type.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated: