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.
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
Using JET.jl to determine if typed varinfo is okay #728
Using JET.jl to determine if typed varinfo is okay #728
Changes from 58 commits
361c45e
545cfab
abd432f
5cd9009
d503c3c
acb2cb0
902641f
d93006b
64ff18a
90c2df0
a94dbd5
67723d6
3d8ad44
c06b080
d1a5bab
5370e55
dd408ee
c253e9b
891b46a
686ed9f
d7d785a
dda56ec
46ea18c
c20ede3
0b3c36e
f76658a
690b017
97258f3
95bb3a9
155ce66
4998d08
5c27677
99d4df7
3b9a9eb
99fb153
3588597
7a302e5
040cb54
889c370
c98fe49
123b644
37fabb0
33e5b98
7ddec2c
b6b4bff
e07ecdb
8ba8f82
9ec1556
599488b
fa155a4
8496968
fd82871
bb87ba0
62c5cd1
55dc91e
ae51778
a692ec3
d5eb404
17b6ec9
bfa88b2
82578cf
3aad34f
da3eefe
325c5f9
4a17e82
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Could there be some way to test this? I do see that it's tricky. I'm a bit uncomfortable having this in without any testing.
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.
Yeah was thinking the same. We could put in a test strictly before loading JET.jl ofc. It's a bit messy, but seems like the best way 😕
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.
Does wrapping the tests in separate modules save us?
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.
Nah. AFAIK extensions trigger if the package is loaded at any point, e.g. even if a dep loads it
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.
It's also a thing where it doesn't seem like we can nicely get the resulting error message (the error hint is not in the msg of the error or something). So I think we just leave this for now 😕
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.
Sure, it does seem nasty to test for. Have you tried locally that it does what you expect?