Skip to content
Unverified Commit 0f0805b5 authored by aszlig's avatar aszlig
Browse files

lib/types: Handle submodules for type "either"



So far the "either" type only handled "flat" types, so you couldn't do
something like:

type = either int (submodule {
  options = ...;
});

Not only caused this the submodule's options not being checked but also
not show up in the documentation.

This was something we stumbled on with #13916.

Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
Cc: @edolstra
parent 3c060b93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment