Throw if default value is specified inline and explicitly.