-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix ambiguous method warning printing #10984
Conversation
34d524e
to
a18f55a
Compare
This also happens to method override warning Before julia> module A; f() = 1; end; A.f() = 2;
Warning: Method definition fTuple{} in module A at none:1 overwritten in module Main at none:1. After julia> module A; f() = 1; end; A.f() = 2;
Warning: Method definition f() in module A at none:1 overwritten in module Main at none:1. |
79b0193
to
ec3a2e7
Compare
So windows doesn't seem to be very happy with now stderr is captured in the test?? |
Thanks for tackling this kind of tedious but very helpful fix. Could this share code with |
@JeffBezanson I see. Just had a quick look and it seems that this is one of them. I guess it's slightly less important since it's mainly for debugging but can still be quite annoy. Will include those fixes later (tonight). Also, is there a straightforward way to capture the standard error of a process without having to spawn a external process ( |
... Actually decided to fix it much earlier.... |
0c4bc45
to
170d274
Compare
170d274
to
68544bc
Compare
I think this is worth squashing into 2 commits - everything except the last commit, then keep the last commit separate. We should open a separate issue to track fixing that test on Windows. |
On second thought it may have been fixed by 456c222, worth rebasing to check. |
OK, I'll keep the last commit on another branch and squash the rest to check. |
68544bc
to
ac825f4
Compare
Hmm, so looks like the failure is still there? I'll include the last commit then. Not sure if/how I should report this though since I don't have a windows machine to reproduce it locally. (Or maybe I should just point to the CI result here?) |
That'll do fine. Just want to track the problem somewhere permanent so we don't forget about it until it's fixed. |
18c12b7
to
dda1806
Compare
…ce the redirection of STDERR seems to have some issue.
dda1806
to
31fa61b
Compare
Ping. Can someone please review this or does anyone have any comment on what I should improve (or what I still miss)? |
Fix ambiguous method warning printing
Warning printing before
After