Extend footprint test coverage

This commit is contained in:
Bán Dénes 2022-12-04 16:32:14 +01:00
parent 3aef729465
commit 1de68843ce
8 changed files with 1023 additions and 4 deletions

View file

@ -170,9 +170,9 @@ const footprint = exports._footprint = (points, net_indexer, component_indexer,
if (a.type(value)() == 'string' && value.startsWith('=') && point) {
const indirect = value.substring(1)
value = point.meta[indirect]
if (value === undefined) {
throw new Error(`Indirection "${name}.params.${param}" --> "${point.meta.name}.${indirect}" to undefined value!`)
}
// if (value === undefined) {
// throw new Error(`Indirection "${name}.params.${param_name}" --> "${point.meta.name}.${indirect}" to undefined value!`)
// }
}
parsed_params.param[param_name] = value
}