IDL should disallow optional and default for the same field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: IDL
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-07-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It does not make sense for a field to have a default value and be marked as optional. This needs to be an error in IDL and tests added. This came up in a recent code review.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: