nimpretty: added more code claimed to not be working

This commit is contained in:
Andreas Rumpf
2018-06-20 00:59:01 +02:00
parent 0725003a8c
commit 2a662250d4
2 changed files with 26 additions and 0 deletions

View File

@@ -285,3 +285,16 @@ proc starWasExportMarker*(em: var Emitter) =
setLen(em.content, em.content.len-3)
em.content.add("*")
dec em.col, 2
type
Thing = ref object
grade: string
# this name is great
name: string
proc f() =
var c: char
var str: string
if c == '\\':
# escape char
str &= c

View File

@@ -292,3 +292,16 @@ proc starWasExportMarker*(em: var Emitter) =
setLen(em.content, em.content.len-3)
em.content.add("*")
dec em.col, 2
type
Thing = ref object
grade: string
# this name is great
name: string
proc f() =
var c: char
var str: string
if c == '\\':
# escape char
str &= c