(importDeclaration: string)
| 268 | } |
| 269 | |
| 270 | function addImport(importDeclaration: string): void { |
| 271 | if (!artifacts.some((artifact) => artifact._tag === "Import" && artifact.importDeclaration === importDeclaration)) { |
| 272 | artifacts.push({ _tag: "Import", importDeclaration }) |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | function addSymbol(symbol: symbol): string { |
| 277 | const identifier = freshIdentifier("_symbol") |
no test coverage detected