Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Correct types for EditableLists containing Missing items

Compare
Choose a tag to compare
@fredemmott fredemmott released this 29 Aug 18:23

For example:

  • list(,,$c) contains two Missing items
  • \Foo\bar() starts with a Missing item with a trailing separator

This changes the types of these members to EditableList<?T> where T is the type of the non-missing items.

In cases where this change introduces type errors, there was previously a risk of runtime exceptions.