Skip to content

always panic on nil receivers and arguments

Choose a tag to compare

@gaissmai gaissmai released this 12 May 21:15
  • Breaking Changes
    Always panic on nil receivers and arguments; operations that previously tolerated nil with no-op will now panic (iteration, comparison, cloning/union, and serialization).

  • Documentation
    Clarified that table types must be used via pointers (not copied by value) and that nil receivers/arguments are forbidden and will trigger panics.

  • Tests
    Nil-receiver/arguments tests updated to expect panics and renamed to reflect nil-receiver/arguments focus.