1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
# bug #9505
import std/[
strutils, os
]
import pkg/[
regex
]
proc fun() =
let a = [
1,
2,
]
discard
proc funB() =
let a = [
1,
2,
3
]
discard
# bug #10156
proc foo =
## Comment 1
## Comment 2
discard
proc bar =
## Comment 3
## Comment 4
## More here.
discard
proc barB =
# Comment 5
# Comment 6
discard
var x: int = 2
echo x
# bug #9144
proc a() =
if cond:
while true:
discard
# comment 1
# end while
#end if
# comment 2
#if
#case
#end case
#end if
discard
proc a() =
while true:
discard
# comment 1
# comment 2
discard
proc i11937() =
result = %*
{
"_comment": "pbreports-style JSON",
"attributes": [],
"dataset_uuids": [],
"id": "microbial_asm_polishing_report",
"plotGroups": [],
"tables": [
{
"columns": [
{
"header": "Contig",
"id": "microbial",
"values": values_contig
},
{
"header": "Length",
"id": "microbial",
"values": values_length
},
{
"header": "Circular?",
"id": "microbial",
"values": values_circular
}
],
"id": "microbial_asm_polishing_report.contigs_table",
"title": "Polished contigs from Microbial Assembly"
},
],
"tags": [],
"title": "Microbial Assembly Polishing Report",
"uuid": uuid,
"version": version
}
|