Skip to content

Commit 38f396e

Browse files
committed
Ignore compiler warnings when parsing General registry
These aren't failures so just ignore them for the purposes of comparison.
1 parent f9f06fc commit 38f396e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/check_all_packages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Logging.with_logger(logger) do
3232
e2 = open(deserialize, fpath*".Expr")
3333
@assert Meta.isexpr(e2, :toplevel)
3434
try
35-
e1 = JuliaSyntax.parseall(Expr, code, filename=fpath)
35+
e1 = JuliaSyntax.parseall(Expr, code, filename=fpath, ignore_warnings=true)
3636
if !exprs_roughly_equal(e2, e1)
3737
mismatch_count += 1
3838
@error("Parsers succeed but disagree",

0 commit comments

Comments
 (0)