fixes #19662; Indent level errored for first line (#19718)

This commit is contained in:
flywind 2022-04-25 18:00:23 +08:00 • committed by GitHub
commit 42ac50e988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

6
tests/parser/t19662.nim Normal file
View file

@ -0,0 +1,6 @@
var i: int # bug #19662
echo i
discard """
errormsg: "invalid indentation"
"""