Skip to content
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

check that functions in precompile lists are defined #30

Merged
merged 4 commits into from
Nov 19, 2019

Conversation

lkapelevich
Copy link
Contributor

Addresses #29

This works for the example in the issue, but I'm not sure I have implemented it in the most effective way, or what the best way to test this is. If func (https://github.com/timholy/SnoopCompile.jl/blob/master/src/SnoopCompile.jl#L194) looks like
:(getfield(mod, Symbol("##...#.."))), we add a check isdefined(mod, "##...#..").

@timholy
Copy link
Owner

timholy commented Nov 13, 2019

Sorry I didn't notice this or forgot about it!

I don't see anything objectionable here. Any reason not to merge for now?

@lkapelevich lkapelevich changed the title WIP: check that functions in precompile lists are defined check that functions in precompile lists are defined Nov 13, 2019
@lkapelevich
Copy link
Contributor Author

No problem! I don't have any more changes to make to the code. If you have suggestions for how to test this better, I'm happy to try them.

@timholy timholy merged commit 2d5d655 into timholy:master Nov 19, 2019
@lkapelevich lkapelevich deleted the check_isdef branch November 19, 2019 16:09
@yhls yhls mentioned this pull request Nov 19, 2019
@timholy timholy mentioned this pull request Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants