bbbd0ef30d
Previously it was not implementing the two optional interfaces required for this, and so decoding would fail for any AttrSpec or block spec nested inside. Now it passes through attribute requirements from both the primary and default, and passes block requirements only from the primary, thus allowing either fallback between two attributes, fallback from an attribute to a constant, or fallback from a block to a constant. Other permutations are also possible, but not very important. |
||
---|---|---|
.. | ||
block_labels.go | ||
decode.go | ||
doc.go | ||
gob.go | ||
public_test.go | ||
public.go | ||
schema.go | ||
spec_test.go | ||
spec.go | ||
variables_test.go | ||
variables.go |