Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite recursion in scope tree operation on group in alias #5648

Open
avedetvedea opened this issue Jun 12, 2023 · 14 comments · May be fixed by #6749
Open

infinite recursion in scope tree operation on group in alias #5648

avedetvedea opened this issue Jun 12, 2023 · 14 comments · May be fixed by #6749
Assignees

Comments

@avedetvedea
Copy link
Contributor

Complicated computed expression have always been ISEs for me, but this time hit with an error trying to ad an alias

alias PollWithStatistics := Poll {
        sampleSize := (
            with
                currentPollPostPolls := .post.polls,
                ratingPoints := currentPollPostPolls.ratingPoint,
                selectedIndices := currentPollPostPolls.selectedIndex,
            select {
                count := count(ratingPoints ?? selectedIndices),
            }
        ).count,
        result := (
            with
              currentPollPostPolls := .post.polls,
              ratingPoints := currentPollPostPolls.ratingPoint,
              selectedIndices := currentPollPostPolls.selectedIndex,
              sampleSize := count(ratingPoints ?? selectedIndices),

              ratingPointsMean := array_agg(
                <float32>round(<decimal>math::mean(ratingPoints), 2) if exists ratingPoints else <float32>{}
              ),
              _selectedGroupedIndices := (
                group (select currentPollPostPolls {selectedIndex} filter exists .selectedIndex)
                by .selectedIndex
              ),
              # both the grouping is sorted and then we use an array, which together ensure correct ordered return
              selectedGroupedIndices := (
                select <array<float32>>array_agg(
                  round(<decimal>_selectedGroupedIndices {
                    count := count(.elements)
                  }.count / sampleSize, 2)
                )
              ),
            select {
              result := ratingPointsMean if len(ratingPointsMean) != 0 else selectedGroupedIndices,
            }
        ),
   };
@zchenb
Copy link
Contributor

zchenb commented Jun 13, 2023

Could you provide a stack trace of the exception?

@avedetvedea
Copy link
Contributor Author

avedetvedea commented Jun 13, 2023

edgedb error: InternalServerError: maximum recursion depth exceeded while calling a Python object
  Hint: This is most likely a bug in EdgeDB. Please consider opening an issue ticket at https://github.com/edgedb/edgedb/issues/new?template=bug_report.md
  Server traceback:
      Traceback (most recent call last):
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler_pool/worker_proc.py", line 55, in worker
          res = meth(*args)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler_pool/worker.py", line 161, in compile
          units, cstate = COMPILER.compile(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 742, in compile
          unit_group = compile(ctx=ctx, source=source)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1847, in compile
          return _try_compile(ctx=ctx, source=source)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1915, in _try_compile
          comp, capabilities = _compile_dispatch_ql(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/compiler.py", line 1759, in _compile_dispatch_ql
          query = ddl.compile_dispatch_ql_migration(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/ddl.py", line 380, in compile_dispatch_ql_migration
          return _start_migration(ctx, ql, in_script)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler/ddl.py", line 461, in _start_migration
          target_schema = s_ddl.apply_sdl(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/ddl.py", line 472, in apply_sdl
          target_schema = delta.apply(target_schema, context)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/delta.py", line 1546, in apply
          schema = self.apply_subcommands(schema, context)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/delta.py", line 1573, in apply_subcommands
          schema = objop.apply(schema, context)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/delta.py", line 3032, in apply
          schema = self._create_begin(schema, context)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/expraliases.py", line 312, in _create_begin
          type_cmd, type_shell, expr = self._handle_alias_op(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/expraliases.py", line 213, in _handle_alias_op
          ir = compile_alias_expr(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/schema/expraliases.py", line 452, in compile_alias_expr
          ir = qlcompiler.compile_ast_to_ir(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/__init__.py", line 179, in wrapper
          return func(*args, **kwargs)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/__init__.py", line 238, in compile_ast_to_ir
          ir_expr = stmtctx_mod.fini_expression(ir_set, ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmtctx.py", line 169, in fini_expression
          exprs_to_clear = _fixup_materialized_sets(all_exprs, ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmtctx.py", line 352, in _fixup_materialized_sets
          viewgen.late_compile_view_shapes(ir_set, ctx=subctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1964, in _late_compile_view_shapes_in_set
          late_compile_view_shapes(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/viewgen.py", line 1942, in _late_compile_view_shapes_in_set
          element = setgen.extend_path(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 913, in extend_path
          target_set = computable_ptr_set(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 1521, in computable_ptr_set
          comp_ir_set = dispatch.compile(qlexpr, ctx=subctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 127, in compile_SelectQuery
          stmt.result = compile_result_clause(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1327, in compile_result_clause
          expr = dispatch.compile(result_expr, ctx=ectx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/expr.py", line 76, in compile_Path
          return stmt.maybe_add_view(setgen.compile_path(expr, ctx=ctx), ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 505, in compile_path
          path_tip = dispatch.compile(step, ctx=subctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 88, in compile_SelectQuery
          init_stmt(stmt, expr, ctx=sctx, parent_ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1148, in init_stmt
          irstmt.bindings = process_with_block(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1228, in process_with_block
          binding = stmtctx.declare_view(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmtctx.py", line 681, in declare_view
          view_set = dispatch.compile(astutils.ensure_qlstmt(expr), ctx=subctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 127, in compile_SelectQuery
          stmt.result = compile_result_clause(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1327, in compile_result_clause
          expr = dispatch.compile(result_expr, ctx=ectx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/expr.py", line 76, in compile_Path
          return stmt.maybe_add_view(setgen.compile_path(expr, ctx=ctx), ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 574, in compile_path
          comp_ir_set = computable_ptr_set(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 1521, in computable_ptr_set
          comp_ir_set = dispatch.compile(qlexpr, ctx=subctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 127, in compile_SelectQuery
          stmt.result = compile_result_clause(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1327, in compile_result_clause
          expr = dispatch.compile(result_expr, ctx=ectx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/func.py", line 102, in compile_FunctionCall
          args, kwargs = compile_func_call_args(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/func.py", line 677, in compile_func_call_args
          arg_ir = polyres.compile_arg(arg, typemods[ai], ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/polyres.py", line 583, in compile_arg
          arg_ir = dispatch.compile(arg_ql, ctx=argctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 127, in compile_SelectQuery
          stmt.result = compile_result_clause(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1327, in compile_result_clause
          expr = dispatch.compile(result_expr, ctx=ectx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 127, in compile_SelectQuery
          stmt.result = compile_result_clause(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/stmt.py", line 1327, in compile_result_clause
          expr = dispatch.compile(result_expr, ctx=ectx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/expr.py", line 76, in compile_Path
          return stmt.maybe_add_view(setgen.compile_path(expr, ctx=ctx), ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/setgen.py", line 556, in compile_path
          pathctx.register_set_in_scope(path_tip, ctx=ctx)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/edgeql/compiler/pathctx.py", line 91, in register_set_in_scope
          path_scope.attach_path(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 461, in attach_path
          self.attach_subtree(subtree, context=context)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 513, in attach_subtree
          visible.fuse_subtree(
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 687, in fuse_subtree
          self.attach_subtree(subtree, was_fenced=self_fenced)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 486, in attach_subtree
          visible, visible_finfo, vns = self.find_visible_ex(path_id)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 789, in find_visible_ex
          and _paths_equal(child.path_id, path_id, namespaces)):
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/scopetree.py", line 1056, in _paths_equal
          path_id_2 = path_id_2.strip_namespace(namespaces)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/pathid.py", line 410, in strip_namespace
          result = self.replace_namespace(stripped_ns)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/pathid.py", line 372, in replace_namespace
          result = self.__class__(self)
        File "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/ir/pathid.py", line 105, in __init__
          if isinstance(initializer, PathId):
      RecursionError: maximum recursion depth exceeded while calling a Python object

@avedetvedea
Copy link
Contributor Author

Hey @zchenb. I need to put some complicated stuff in aliases, like above (computeds are much more limited). Could you look at this? I am trying to extract all my queries into the schema itself, which will allow me to use the query-builder to dynamically construct a single EQL query from my GQL top resolver (cannot do that in a type-safe way with the generate feature, don't want string concat), without giving up the EQL's power vs query-builder

@zchenb
Copy link
Contributor

zchenb commented Jul 25, 2023

Hi @avedetvedea, could you please try this workaround and see if the problem still occurs?
#5569 (comment)

You would likely want to put

import sys
sys.setrecursionlimit(1500)

at the beginning of this file: "/Users/ata/Library/Application Support/edgedb/portable/3.0-dev.7341/lib/python3.10/site-packages/edb/server/compiler_pool/worker.py".

Our compiler uses a recursion-based method for traversing the input queries, and sometimes problems occur when the input query is complex than the default recursion limit. Please feel free to increase recursion limit as needed. Please let me know if the problem recurs after the adjustment. Thanks!

@avedetvedea
Copy link
Contributor Author

Hey again @zchenb. Making 1500 didn't help, plus my computer gets really hot and it takes about 15 minutes to fail.

@zchenb
Copy link
Contributor

zchenb commented Jul 25, 2023

Hi @avedetvedea, do you mind providing me with a schema and a query that reproduces the error (besides the alias declaration)? I want to reproduce this error on my side.

@avedetvedea
Copy link
Contributor Author

@zchenb, are you on the discord channel? or is there any other medium I can privately send you my schema?

@zchenb
Copy link
Contributor

zchenb commented Jul 25, 2023

You could send it to my work email: zhibo@edgedb.com

@aljazerzen
Copy link
Contributor

I have a few debugging notes, but no solution yet.

This is the minimal reproducible example, that I could reduce the schema down to:

module default {
    type Hello {
        multi link worlds := .<hello[IS World];
    };

    type World {
        required single hello: Hello;

        optional foo: int16;
    };

    alias WorldResult := World {
        result := (
            with groupped := (
                group (select .hello.worlds {foo}) by .foo
            ),

            select <decimal>count(groupped.elements) / 5
        ),
   };
}

This is the function call causing the recursion:

late_compile_view_shapes(
element,
parent_view_type=stype.get_expr_type(ctx.env.schema),
ctx=scopectx)

The problematic pointer indirection is stuck on:

  • pointer: 'default::__|result@default|WorldResult',
  • path_tip: <ir.Set 'ns~8@@(default::groupped@w~1).>key[IS std::FreeObject].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal].>result[IS std::decimal]' at 0x7f7cdc17da10>

... which is obviously incorrect, but I'm not sure for what reason.

@msullivan msullivan changed the title RecursionError: maximum recursion depth exceeded while calling a Python object infinite recursion in scope tree operation on group in alias Sep 1, 2023
@avedetvedea
Copy link
Contributor Author

Hey all, I waited for the 4.0 launch to happen before writing again or creating new issues. Is there any possible workarounds or fixes in the horizon for what is happening? I need to use the power of EDB that I can out EQL inside the SDL as computeds/aliases, to be able to query with TS QB dynamically.

@aljazerzen
Copy link
Contributor

This fell off my radar, I can spend a bit of time on it now.

I don't know for specific workarounds as of now, but you can try changing the schema a bit. The bug is probably triggered by something very specific, such as "grouping on back links followed by a cast", so try to change up your expressions and see if you manage to avoid it.

Or just wait for 4.1

@avedetvedea
Copy link
Contributor Author

@aljazerzen Was this fixed in 4.1? I cannot test because I cannot add any aliases that refers to types at this time, waiting for @elprans to report back.

@aljazerzen
Copy link
Contributor

Update: this is still broken on latest master. I've spent an afternoon on it (again) and it is pushing my debugging abilities 😓

What I know:

  • This is the recursing call:
    late_compile_view_shapes(
    element,
    parent_view_type=stype.get_expr_type(ctx.env.schema),
    ctx=scopectx)
  • It is happening because the type of the computed link result is being wrongly overridden to be WorldResult, which triggers shape resolution again and recurses.
  • The type is overridden here:
    # The view statement did _not_ contain a view declaration,
    # but we still want the correct path_id.
    view_obj = ctx.env.schema.get(view_name, None)
    if view_obj is not None:
    assert isinstance(view_obj, s_types.Type)
    view = view_obj
    else:
    view = schemactx.derive_view(
    t, derived_name=view_name, preserve_shape=True, ctx=parent_ctx)
    path_id = pathctx.get_path_id(view, ctx=parent_ctx)
  • a little above, we are pulling view_name from context:
    view_name = parent_ctx.toplevel_result_view_name
    
  • ... which is WorldResult, which is probably wrong, since this is within fini_stmt of select <decimal>count(...) / 5
  • If I understand correctly, we should have 3 relevant contexts here:
    1. the toplevel one, created when preparing compilation of the alias expression,
    2. context of shape of World { }
    3. context of the subquery in the result computed
  • when we are fini_stmt-ing this subquery, parent_ctx would be context 2.
  • context 2. should not have toplevel_result_view_name=None

What's worse is that the recursion does not happen in the normal compiler pass, it happens in the fini_expressions and _fixup_materialized_sets - the post-processing ql pass.

@aljazerzen
Copy link
Contributor

Update: I identified the root cause last week: _fixup_materialized_sets should not be using a context with toplevel_result_view_name set.

When I fixed this, I bumped into another bug documented in #6561

aljazerzen added a commit that referenced this issue Jan 30, 2024
@aljazerzen aljazerzen linked a pull request Jan 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants