mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 11:12:37 +00:00
nimpretty: added more code claimed to not be working
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user