We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running
f(::Any)=false f(::Type)=true @show f((Int,String,2)) @show f(((Int,String),String)) @show f((Int,)) @show f((Int,String)) @show f(Int)
in a fresh julia session gives
f((Int,String,2)) => false f(((Int,String),String)) => false f((Int,)) => false f((Int,String)) => false f(Int) => true
But if we remove @show f((Int,String,2)) then it works as expected:
@show f((Int,String,2))
f(::Any)=false f(::Type)=true @show f(((Int,String),String)) @show f((Int,)) @show f((Int,String)) @show f(Int)
gives
f(((Int,String),String)) => true f((Int,)) => true f((Int,String)) => true f(Int) => true
It seems like the negative result for @show f((Int,String,2)) somehow contaminates the further invocations.
The text was updated successfully, but these errors were encountered:
2969493
JeffBezanson
No branches or pull requests
Running
in a fresh julia session gives
But if we remove
@show f((Int,String,2))
then it works as expected:gives
It seems like the negative result for
@show f((Int,String,2))
somehow contaminates the further invocations.The text was updated successfully, but these errors were encountered: