message: improve derivation of module for datafirst
diff: @@ -30,7 +30,6 @@ function checkRegionAt(
  }
  const traceRegex = /tracing: (on|off)/
  -const moduleRegex = /@module (.*)/
  const traceOnRegex = /tracing: on/
  export default function tracer(
  @@ -73,25 +72,11 @@ export default function tracer(
  })
  .filter(([x]) => x.length > 0)
  - const modules = new Map<string, ts.Identifier>()
  -
  function dataFirst(node: ts.Node): ts.VisitResult<ts.Node> {
  - if (ts.isImportDeclaration(node) && node.importClause) {
  - const bindings = node.importClause.namedBindings
  - if (bindings && ts.isNamespaceImport(bindings)) {
  - const symbol = checker.getTypeAtLocation(bindings).getSymbol()
  - const module = symbol?.valueDeclaration.getFullText().match(moduleRegex)
  -
  - if (module) {
  - modules.set(module[1], bindings.name)
  - }
  - }
  - }
  - const eff = modules.get("Effect")
  - if (eff) {
  if (
  ts.isCallExpression(node) &&
  ts.isCallExpression(node.expression) &&
  + ts.isPropertyAccessExpression(node.expression.expression) &&
  node.arguments.length === 1 &&
  !ts.isSpreadElement(node.arguments[0]) &&
  sourceFile.fileName.includes("opt.test.ts")
  @@ -119,7 +104,7 @@ export default function tracer(
  if (dataFirstTag) {
  return factory.createCallExpression(
  factory.createPropertyAccessExpression(
  - eff,
  + node.expression.expression.expression,
  factory.createIdentifier(dataFirstTag)
  ),
  undefined,
  @@ -130,7 +115,7 @@ export default function tracer(
  )
  }
  }
  - }
  +
  return ts.visitEachChild(node, dataFirst, ctx)
  }
  