From a43c3e078f5b49be7e662b650f61d23aaf6aae9a Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 8 Sep 2025 20:44:03 -0400 Subject: Update location() to allow undefined-keys-with-defined-subkeys --- site/spec.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/spec.html b/site/spec.html index 01d42e3..0cc88b4 100644 --- a/site/spec.html +++ b/site/spec.html @@ -607,6 +607,10 @@ and for my.nephews.car.id is String (no schema key matches, so the default of St Location of the definition of key in the configuration (file and line number). Useful for reporting invalid values when the format of valid values can’t be described by a schema type. + If a key k isn’t given a value in the configuration, but a key of the form + k.j is, then the + location of the definition of an arbitrary such key + should be considered the location of k.
  • get(conf: Configuration, key: String) -> Optional<String>
    -- cgit v1.2.3