fixes #20149; fixes #16762; hintAsError and warningAsError now ignore foreign packages (#20151)

* fixes #20149;  hintAsError/warningAsError ignores foreign packages

* add changelog

* fixes the test

* remove

* fixes tests again

* fix

* I'm careless

Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
ringabout 2022-08-20 04:24:09 +08:00 • committed by GitHub
commit 641381e3d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 8 deletions

2
tests/misc/m20149.nim Normal file
View file

@ -0,0 +1,2 @@
let x = 12
echo x