)]}'
{
  "commit": "6f3dd4e5f99bc93dfc200e277fa5c6dd154e9420",
  "tree": "bdfc0c7aa56f0278bdedaa0ce0cbf7ca817cd1a9",
  "parents": [
    "d9f095e23fa6555880a5fe04e51899b821b74f44"
  ],
  "author": {
    "name": "Kevin Moore",
    "email": "kevmoo@users.noreply.github.com",
    "time": "Wed Sep 30 08:12:17 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 30 08:12:17 2026 -0700"
  },
  "message": "[js_interop_gen] Deduplicate `UnionType` and `IntersectionType` via `UnionOrIntersectionType` (#578)\n\n* [js_interop_gen] Deduplicate `UnionType` and `IntersectionType` via `UnionOrIntersectionType`\n\nStacked on #577.\n\n- Extract `sealed class UnionOrIntersectionType extends DeclarationType` in\n  `lib/src/ast/types.dart` (mirroring `_UnionOrIntersectionDeclaration`) to\n  share `types`, `isNullable`, `declarationName`, `id`, `emit()`, `hashCode`,\n  and `operator \u003d\u003d` across `UnionType` and `IntersectionType` (`pkg:dedupe`\n  `cluster-47`).\n- Fix `UnionType.\u003d\u003d` and `IntersectionType.\u003d\u003d`, which previously checked\n  `other is TupleType` due to copy-paste.\n- Consolidate `UnionType` / `IntersectionType` pattern cases in\n  `lib/src/ast/helpers.dart` and\n  `lib/src/interop_gen/transform/dependency_walker.dart`.\n- Write `dart_main.js` via an atomic temporary file rename in\n  `compileDartMain()` (`lib/src/cli.dart`) so parallel `dart test` isolates in\n  the same VM process cannot truncate `dart_main.js` while `node main.mjs` is\n  loading it.\n\n* Enforce symmetric equality and length check in UnionOrIntersectionType.\u003d\u003d",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d9d4034b8bb92d68223f917ab0cf6d094278de2b",
      "old_mode": 33188,
      "old_path": "js_interop_gen/lib/src/ast/helpers.dart",
      "new_id": "c81bc710073969395b1a496557124628c494daff",
      "new_mode": 33188,
      "new_path": "js_interop_gen/lib/src/ast/helpers.dart"
    },
    {
      "type": "modify",
      "old_id": "31c72a6adf1701d7dee3aa19808172c8ec6c0527",
      "old_mode": 33188,
      "old_path": "js_interop_gen/lib/src/ast/types.dart",
      "new_id": "95f091357b5338a7ea4fcabd6670edab244d7473",
      "new_mode": 33188,
      "new_path": "js_interop_gen/lib/src/ast/types.dart"
    },
    {
      "type": "modify",
      "old_id": "74374b531f681f53e07221aa34cbcaeaf2716020",
      "old_mode": 33188,
      "old_path": "js_interop_gen/lib/src/interop_gen/transform/dependency_walker.dart",
      "new_id": "b1ae6e264f7591f7bd96f515f55b7ee82f26f9e3",
      "new_mode": 33188,
      "new_path": "js_interop_gen/lib/src/interop_gen/transform/dependency_walker.dart"
    }
  ]
}
