Open lrennels opened 2 years ago
Update that we should fold this in to all three _check_attributes
methods including the one for internal parameter connections as added in #899. That particular method does not currently check datatypes, so as to avoid further complexity before we handle this uniformly, but should check them.
The typing story for parameters and variables, particularly for non-
Number
types likeString
s andSymbol
s, is a bit fragile and can cause some confusing error messages. For example, typing with something likewill fail, and only work if you type it with
{Symbol}
, as if you are indicating the element type instead of the parameter type. We should move through this carefully and think about the conversion story, the typing, etc.