Nil pointer implementing Zeroer interface should not cause panic

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.2.0
    • Affects Version/s: 0.1.0
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a type implements the Zeroer interface as a value, it should not panic when a pointer to that value type is provided. Additionally, a nil pointer should always be declared zero for the purposes of the Zeroer interface.

              Assignee:
              Go Community User
              Reporter:
              Kristofer Brandow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: