fix #14850: repr now correctly renders do (#17623)

* fix #14850: `repr` now correctly renders `do`

* add tests

* fix test
This commit is contained in:
Timothee Cour 2021-04-03 07:05:37 -07:00 • committed by GitHub
commit 4a11a04fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 9 deletions

View file

@ -1,7 +1,7 @@
discard """
errormsg: "in expression ':"
errormsg: "in expression ' do:"
nimout: '''
Error: in expression ':
Error: in expression ' do:
890': identifier expected, but found ''
'''