-
Notifications
You must be signed in to change notification settings - Fork 36
Introduction of model_typed
and model_warntype
in DebugUtils
#708
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9f392a7
added InteractiveUtils.jl as a dep + `model_typed` and
torfjelde 68295e8
Apply suggestions from code review
torfjelde 6a42613
added `optimize` kwarg to `model_typed` and `model_warntype`
torfjelde b60aaec
Merge remote-tracking branch 'origin/torfjelde/code-warntype' into to…
torfjelde a6584c4
formatting
torfjelde 076aee5
expanded docstring for `model_warntype` and `model_codetyped` and
torfjelde 52b4301
added testing for `model_codetyped` and `model_warntype`
torfjelde bc43b98
Merge remote-tracking branch 'origin/torfjelde/code-warntype' into to…
torfjelde 4794c4f
bump patch version
torfjelde 2925ee1
Merge branch 'master' into torfjelde/code-warntype
torfjelde afdcd82
added tests for `model_codetyped` and `model_warntype` for model with
torfjelde 5519a83
added test/debug_utils.jl to test/runtests.jl
torfjelde 6b6c7dd
renamed `model_codetyped` to `model_typed` to be consistent with the
torfjelde 0fc3c1e
Merge branch 'master' into torfjelde/code-warntype
torfjelde fb5f644
avoid usage of macros within `model_warntype` and `model_typed` due
torfjelde cf750e1
formatting
torfjelde f6115c7
renamed `_make_evaluate_args_and_kwargs` to
torfjelde c794ff4
Merge branch 'master' into torfjelde/code-warntype
torfjelde c6c35d8
formatting
torfjelde 4f882a7
bump patch version
torfjelde 7f2863b
Update src/debug_utils.jl
torfjelde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function doesn't actually return the type of the function in question, it returns the function itself. I don't mind which one we do, but this docstring should be fixed before merging!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to add a unit test to make sure that this is actually doing whatever the docstring asserts is happening.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh damn, good catch!