repr: fix rendering of 'big, =destroy etc (#17624)
This commit is contained in:
parent
61c1e35181
commit
fe7a76f62f
2 changed files with 37 additions and 3 deletions
|
|
@ -145,5 +145,23 @@ do:
|
|||
do:
|
||||
4"""
|
||||
|
||||
block: # bug #17292 (bug 4)
|
||||
let a = deb:
|
||||
proc `=destroy`() = discard
|
||||
proc `'foo`(): int = discard
|
||||
proc `foo bar baz`(): int = discard
|
||||
let a2 = """
|
||||
|
||||
proc `=destroy`() =
|
||||
discard
|
||||
|
||||
proc `'foo`(): int =
|
||||
discard
|
||||
|
||||
proc `foo bar baz`(): int =
|
||||
discard
|
||||
"""
|
||||
doAssert a2 == a
|
||||
|
||||
static: main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue