fixes #13671 [backport] (#13678)

This commit is contained in:
Andreas Rumpf 2020-03-18 10:37:36 +01:00 • committed by GitHub
commit 5f6997794e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -55,3 +55,8 @@ const x0 = fun()
echo typeof(x0)
discard $x0
# bug #13671
const x1 = cast[uint](-1)
discard $(x1,)