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
This
function f(a) @check !startswith(a,"o") end f("o")
causes this error
ERROR: CheckError: !(startswith(a, "o")) must hold. Got startswith(a, "o") => true
It would be nice if it could display the contents of a
a
The text was updated successfully, but these errors were encountered:
Agreed this would be nice. If you want to take a stab at implementing it, that would be cool.
Sorry, something went wrong.
As a workaround, one can also add some parenthesis:
julia> using ArgCheck julia> x = nothing; julia> @argcheck (!isnothing)(x) ERROR: ArgumentError: (!isnothing)(x) must hold. Got x => nothing Stacktrace: [1] throw_check_error(info::Any) @ ArgCheck ~/.julia/packages/ArgCheck/CA5vv/src/checks.jl:280 [2] top-level scope @ REPL[6]:1
No branches or pull requests
This
causes this error
It would be nice if it could display the contents of
a
The text was updated successfully, but these errors were encountered: