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

@suppress_err using doesn't work since v0.2.3 #57

Closed
johnnychen94 opened this issue Jul 20, 2023 · 0 comments · Fixed by #58
Closed

@suppress_err using doesn't work since v0.2.3 #57

johnnychen94 opened this issue Jul 20, 2023 · 0 comments · Fixed by #58

Comments

@johnnychen94
Copy link
Member

In Suppressor v0.2.3 #53 has introduced with_logger, and this seems to make @suppress_err using xxx not working anymore, e.g.,

julia> using Suppressor

julia> @suppress_err using YAML
ERROR: syntax: "using" expression not at top level
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

This works fine in Suppressor v0.2.2.

Is this supposed to be a valid usage? If so, we might need to find a way to patch this.

cc: @Drvi @quinnj

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 a pull request may close this issue.

1 participant