-
Notifications
You must be signed in to change notification settings - Fork 5
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
Struct methods and keyword arguments don't appear to work properly #32
Comments
function (self::ParamInterp)(fn::typeof(mystruct), args...; kwargs...)
@show "cassette constructor!!", args, kwargs
@show mystruct(; kwargs...)
end is very bad definition since If you define it correctly, i.e. |
Ok but my actual bug is still there In CedarSim I'm doing the following, not even using the type.
Where ParamSim is
In this case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was having a bug where it seems like if I call a struct method it works, unless I pass keyword arguments, in which cases it just seems to bypass the overlay.
But then when I tried to debug it I got even more broken behavior:
So this may or may not be two bugs in a trench coat.
The text was updated successfully, but these errors were encountered: