-
Notifications
You must be signed in to change notification settings - Fork 32
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
WIP: Get fieldtypes from defaults #138
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #138 +/- ##
=======================================
Coverage 93.66% 93.66%
=======================================
Files 1 1
Lines 284 284
=======================================
Hits 266 266
Misses 18 18
Continue to review full report at Codecov.
|
So it isn't working for me, but I think it's because Julia is somehow not using the updated version (error line numbers don't make sense). What is the general best practice for doing this? I initially did |
You first create a dev of Parameters. E.g. start the repl and do Does that help? |
Hi @mauro3 . Sorry for the long delay on this... I got caught up in other things. I am of course familiar with git and everything, that's not so much the issue. The issue was just that julia didn't seem to recompile |
@mauro3 So far so good except for one somewhat contrived issue with @with_kw struct I131c @deftype typeof
a = 5
b = 1.0
c = a + b
end throws error Like I said, this is somewhat contrived, and one workaround is to just explicitly declare the type |
Ok, that is a good catch. It might be a bit hard to support this, I'll see. |
Resolves #131
and