|
43 | 43 | # Infinite: base/isSuffixOf |
44 | 44 | # Usage of the 'isSuffixOf' function that hangs on infinite lists |
45 | 45 | [[ignore]] |
46 | | - id = "OBS-STAN-0102-luLR/n-523:30" |
| 46 | + id = "OBS-STAN-0102-luLR/n-524:30" |
47 | 47 | # ✦ Category: #Infinite #List |
48 | 48 | # ✦ File: src\Stack\New.hs |
49 | 49 | # |
50 | | -# 522 ┃ |
51 | | -# 523 ┃ let isPkgSpec f = ".cabal" `L.isSuffixOf` f || "package.yaml" `L.isSuffixOf` f |
52 | | -# 524 ┃ ^^^^^^^^^^^^^^ |
| 50 | +# 523 ┃ |
| 51 | +# 524 ┃ let isPkgSpec f = ".cabal" `L.isSuffixOf` f || "package.yaml" `L.isSuffixOf` f |
| 52 | +# 525 ┃ ^^^^^^^^^^^^^^ |
53 | 53 |
|
54 | 54 | # Infinite: base/isSuffixOf |
55 | 55 | # Usage of the 'isSuffixOf' function that hangs on infinite lists |
56 | 56 | [[ignore]] |
57 | | - id = "OBS-STAN-0102-luLR/n-523:65" |
| 57 | + id = "OBS-STAN-0102-luLR/n-524:65" |
58 | 58 | # ✦ Category: #Infinite #List |
59 | 59 | # ✦ File: src\Stack\New.hs |
60 | 60 | # |
61 | | -# 522 ┃ |
62 | | -# 523 ┃ let isPkgSpec f = ".cabal" `L.isSuffixOf` f || "package.yaml" `L.isSuffixOf` f |
63 | | -# 524 ┃ ^^^^^^^^^^^^^^ |
| 61 | +# 523 ┃ |
| 62 | +# 524 ┃ let isPkgSpec f = ".cabal" `L.isSuffixOf` f || "package.yaml" `L.isSuffixOf` f |
| 63 | +# 525 ┃ ^^^^^^^^^^^^^^ |
64 | 64 |
|
65 | 65 | # Infinite: base/length |
66 | 66 | # Usage of the 'length' function that hangs on infinite lists |
|
116 | 116 |
|
117 | 117 | # Anti-pattern: Data.ByteString.Char8.pack |
118 | 118 | [[ignore]] |
119 | | - id = "OBS-STAN-0203-axv1UG-353:32" |
| 119 | + id = "OBS-STAN-0203-axv1UG-354:32" |
120 | 120 | # ✦ Description: Usage of 'pack' function that doesn't handle Unicode characters |
121 | 121 | # ✦ Category: #AntiPattern |
122 | 122 | # ✦ File: src\Stack\Docker.hs |
123 | 123 | # |
124 | | -# 352 ┃ |
125 | | -# 353 ┃ hashRepoName = Hash.hash . BS.pack . takeWhile (\c -> c /= ':' && c /= '@') |
126 | | -# 354 ┃ ^^^^^^^ |
| 124 | +# 353 ┃ |
| 125 | +# 354 ┃ hashRepoName = Hash.hash . BS.pack . takeWhile (\c -> c /= ':' && c /= '@') |
| 126 | +# 355 ┃ ^^^^^^^ |
127 | 127 |
|
128 | 128 | # Data types with non-strict fields |
129 | 129 | # Defining lazy fields in data types can lead to unexpected space leaks |
|
0 commit comments