-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var &default using unit parameter gives empty value #1319
Comments
Currently unit variables require manual initialization in e.g., |
After more chatting with @bbannier , seems this is more about
|
I opened #1320 to add validation to reject code with unsupported unit variable attributes. |
Approved the PR, but yeah, we should add support for |
Hey - I'm probably doing something unusual/unexpected, but the behavior was surprising, so reporting here.
When defaulting to a unit parameter, the default stays empty (?) rather then the unit parameter's value at the time of instantiation. This is probably not something that should work, but maybe it should error out then.
($d is empty instead of "A")
The text was updated successfully, but these errors were encountered: