Closed tjade273 closed 1 year ago
Hi!
We have improved the error messages in our last release v2.1.5. Now the compilation of the circuit handles the case and produces the following message:
error[T20466]: Typing error found
┌─ "falla.circom":9:13
│
9 │ var x = test.out.tag;
│ ^^^^^^^^^^^^ Trying to access to a signal of a component that has not been initialized
previous errors were found
Thank you for reporting the issue :-)
This line should presumably be handling the case where the component has been declared but not initialized. https://github.com/iden3/circom/blob/ca3345681549c859af1f3f42128e53e3e43fe5e2/type_analysis/src/analyzers/type_check.rs#L677