alternate fix + test for #12094, refs #13804 (#20686)

This commit is contained in:
metagn 2022-10-29 08:20:04 +03:00 • committed by GitHub
commit cb3af8ad39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,11 @@
discard """
errormsg: "undeclared identifier: '_'"
"""
# issue #12094, #13804
template foo =
let _ = 1
echo _
foo()