Fix compiles for nimsuggest [backport] (#14527)

* Handle nimsuggest in tryExpr
* Added test
This commit is contained in:
Danil Yarantsev 2020-06-01 16:06:45 +03:00 • committed by GitHub
commit 00ec43305e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,8 @@
discard compiles(2 + "hello")
#[!]#
discard """
$nimsuggest --tester $file
>chk $1
chk;;skUnknown;;;;Hint;;???;;0;;-1;;"tchk_compiles [Processing]";;0
"""