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

Panic: controlFlowIterationErrorsAsync.ts(duplicate span) #1092

Open
sunrabbit123 opened this issue Sep 26, 2023 · 0 comments
Open

Panic: controlFlowIterationErrorsAsync.ts(duplicate span) #1092

sunrabbit123 opened this issue Sep 26, 2023 · 0 comments

Comments

@sunrabbit123
Copy link
Collaborator

Expr: Arrow(RArrowExpr { node_id: NodeId(355), span: Span { lo: BytePos(1894), hi: BytePos(2022), ctxt: #0 }, params: [], body: BlockStmt(RBlockStmt { node_id: NodeId(356), span: Span { lo: BytePos(1906), hi: BytePos(2022), ctxt: #28 }, stmts: [Decl(Var(RVarDecl { node_id: NodeId(357), span: Span { lo: BytePos(1910), hi: BytePos(1950), ctxt: #0 }, kind: "let", declare: false, decls: [RVarDeclarator { node_id: NodeId(358), span: Span { lo: BytePos(1914), hi: BytePos(1949), ctxt: #0 }, name: Ident(RBindingIdent { node_id: NodeId(359), id: RIdent { node_id: NodeId(360), span: Span { lo: BytePos(1914), hi: BytePos(1917), ctxt: #28 }, sym: Atom('bar' type=inline), optional: false }, type_ann: Some(RTsTypeAnn { node_id: NodeId(361), span: Span { lo: BytePos(1917), hi: BytePos(1937), ctxt: #0 }, type_ann: TsUnionOrIntersectionType(TsUnionType(RTsUnionType { node_id: NodeId(362), span: Span { lo: BytePos(1919), hi: BytePos(1937), ctxt: #0 }, types: [TsKeywordType(RTsKeywordType { span: Span { lo: BytePos(1919), hi: BytePos(1925), ctxt: #0 }, kind: TsStringKeyword }), TsKeywordType(RTsKeywordType { span: Span { lo: BytePos(1928), hi: BytePos(1937), ctxt: #0 }, kind: TsUndefinedKeyword })] })) }) }), init: Some(Ident(RIdent { node_id: NodeId(363), span: Span { lo: BytePos(1940), hi: BytePos(1949), ctxt: #1 }, sym: Atom('undefined' type=static), optional: false })), definite: false }] })), DoWhile(RDoWhileStmt { node_id: NodeId(364), span: Span { lo: BytePos(1953), hi: BytePos(2020), ctxt: #0 }, test: Ident(RIdent { node_id: NodeId(365), span: Span { lo: BytePos(2016), hi: BytePos(2019), ctxt: #28 }, sym: Atom('bar' type=inline), optional: false }), body: Block(RBlockStmt { node_id: NodeId(366), span: Span { lo: BytePos(1956), hi: BytePos(2008), ctxt: #29 }, stmts: [Decl(Var(RVarDecl { node_id: NodeId(367), span: Span { lo: BytePos(1962), hi: BytePos(1990), ctxt: #0 }, kind: "const", declare: false, decls: [RVarDeclarator { node_id: NodeId(368), span: Span { lo: BytePos(1968), hi: BytePos(1989), ctxt: #0 }, name: Ident(RBindingIdent { node_id: NodeId(369), id: RIdent { node_id: NodeId(370), span: Span { lo: BytePos(1968), hi: BytePos(1971), ctxt: #29 }, sym: Atom('baz' type=inline), optional: false }, type_ann: None }), init: Some(Await(RAwaitExpr { node_id: NodeId(371), span: Span { lo: BytePos(1974), hi: BytePos(1989), ctxt: #0 }, arg: Call(RCallExpr { node_id: NodeId(372), span: Span { lo: BytePos(1980), hi: BytePos(1989), ctxt: #0 }, callee: Expr(Ident(RIdent { node_id: NodeId(373), span: Span { lo: BytePos(1980), hi: BytePos(1984), ctxt: #2 }, sym: Atom('foox' type=inline), optional: false })), args: [RExprOrSpread { spread: None, expr: Ident(RIdent { node_id: NodeId(374), span: Span { lo: BytePos(1985), hi: BytePos(1988), ctxt: #28 }, sym: Atom('bar' type=inline), optional: false }) }], type_args: None }) })), definite: false }] })), Expr(RExprStmt { node_id: NodeId(375), span: Span { lo: BytePos(1995), hi: BytePos(2004), ctxt: #0 }, expr: Assign(RAssignExpr { node_id: NodeId(376), span: Span { lo: BytePos(1995), hi: BytePos(2004), ctxt: #0 }, op: "=", left: Pat(Ident(RBindingIdent { node_id: NodeId(377), id: RIdent { node_id: NodeId(378), span: Span { lo: BytePos(1995), hi: BytePos(1998), ctxt: #28 }, sym: Atom('bar' type=inline), optional: false }, type_ann: None })), right: Ident(RIdent { node_id: NodeId(379), span: Span { lo: BytePos(2001), hi: BytePos(2004), ctxt: #29 }, sym: Atom('baz' type=inline), optional: false }) }) })] }) })] }), is_async: true, is_generator: false, type_params: None, return_type: None })

thread 'conformance::controlFlow::controlFlowIterationErrorsAsync.ts' panicked at 'internal error: entered unreachable code: Duplicated declaration of variable: baz#29 Var("const") Span { lo: BytePos(1968), hi: BytePos(1971), ctxt: #0 }', crates/stc_ts_file_analyzer/src/analyzer/scope/mod.rs:1408:21
stack backtrace:
   0: rust_begin_unwind
             at /rustc/c373194cb6d882dc455a588bcc29c92a96b50252/library/std/src/panicking.rs:578:5
   1: core::panicking::panic_fmt
             at /rustc/c373194cb6d882dc455a588bcc29c92a96b50252/library/core/src/panicking.rs:67:14
   2: stc_ts_file_analyzer::analyzer::scope::<impl stc_ts_file_analyzer::analyzer::Analyzer>::declare_var
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/scope/mod.rs:1408:21
   3: stc_ts_file_analyzer::analyzer::scope::vars::<impl stc_ts_file_analyzer::analyzer::Analyzer>::add_vars
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/scope/vars.rs:139:17
   4: stc_ts_file_analyzer::analyzer::scope::<impl stc_ts_file_analyzer::analyzer::Analyzer>::declare_complex_vars
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/scope/mod.rs:1736:105
   5: stc_ts_file_analyzer::analyzer::stmt::var_decl::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RVarDeclarator> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/var_decl.rs:703:25
   6: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
   7: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
   8: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RVarDeclarator> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
   9: <alloc::vec::Vec<T> as stc_visit::visit::VisitWith<V>>::visit_children_with::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:107:38
  10: <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each
             at /rustc/c373194cb6d882dc455a588bcc29c92a96b50252/library/core/src/slice/iter/macros.rs:204:21
  11: <alloc::vec::Vec<T> as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:107:9
  12: <V as stc_visit::visit::Visit<T>>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:28:9
  13: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  14: stc_ts_file_analyzer::analyzer::stmt::var_decl::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RVarDecl> for stc_ts_file_analyzer::analyzer::Analyzer>::validate::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/var_decl.rs:49:13
  15: stc_ts_file_analyzer::analyzer::Analyzer::with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:562:9
  16: stc_ts_file_analyzer::analyzer::stmt::var_decl::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RVarDecl> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/var_decl.rs:48:9
  17: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  18: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  19: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RVarDecl> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  20: <alloc::boxed::Box<T> as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:38:9
  21: <V as stc_visit::visit::Visit<T>>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:28:9
  22: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  23: <stc_ts_ast_rnode::RDecl as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_ast_rnode/src/lib.rs:207:1
  24: <V as stc_visit::visit::Visit<T>>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:28:9
  25: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  26: <stc_ts_ast_rnode::RStmt as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_ast_rnode/src/lib.rs:207:1
  27: stc_ts_file_analyzer::analyzer::stmt::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/mod.rs:54:9
  28: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  29: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  30: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  31: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  32: <stc_ts_file_analyzer::analyzer::Analyzer as stc_ts_file_analyzer::validator::Validate<alloc::vec::Vec<stc_ts_ast_rnode::RStmt>>>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:831:13
  33: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  34: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  35: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<alloc::vec::Vec<stc_ts_ast_rnode::RStmt>> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  36: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  37: stc_ts_file_analyzer::analyzer::stmt::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RBlockStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/mod.rs:130:13
  38: stc_ts_file_analyzer::analyzer::Analyzer::with_child_with_hook
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:609:23
  39: stc_ts_file_analyzer::analyzer::Analyzer::with_child
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:580:9
  40: stc_ts_file_analyzer::analyzer::stmt::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RBlockStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/mod.rs:129:9
  41: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  42: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  43: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RBlockStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  44: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  45: <stc_ts_ast_rnode::RStmt as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_ast_rnode/src/lib.rs:207:1
  46: stc_ts_file_analyzer::analyzer::stmt::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/mod.rs:54:9
  47: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  48: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  49: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  50: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  51: stc_ts_file_analyzer::analyzer::stmt::loops::<impl stc_ts_file_analyzer::analyzer::Analyzer>::validate_loop_body_with_scope::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/loops.rs:69:21
  52: stc_ts_file_analyzer::analyzer::Analyzer::with_child_with_hook
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:609:23
  53: stc_ts_file_analyzer::analyzer::stmt::loops::<impl stc_ts_file_analyzer::analyzer::Analyzer>::validate_loop_body_with_scope
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/loops.rs:55:50
  54: stc_ts_file_analyzer::analyzer::stmt::loops::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RDoWhileStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/loops.rs:459:9
  55: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  56: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  57: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RDoWhileStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  58: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  59: <stc_ts_ast_rnode::RStmt as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_ast_rnode/src/lib.rs:207:1
  60: stc_ts_file_analyzer::analyzer::stmt::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/mod.rs:54:9
  61: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  62: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  63: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RStmt> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  64: stc_visit::visit::VisitWith::visit_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:16:9
  65: stc_ts_file_analyzer::analyzer::hoisting::<impl stc_ts_file_analyzer::analyzer::Analyzer>::validate_stmts_with_hoisting
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/hoisting/mod.rs:46:17
  66: stc_ts_file_analyzer::analyzer::hoisting::<impl stc_ts_file_analyzer::analyzer::Analyzer>::validate_stmts_and_collect
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/hoisting/mod.rs:78:9
  67: stc_ts_file_analyzer::analyzer::stmt::return_type::<impl stc_ts_file_analyzer::analyzer::Analyzer>::visit_stmts_for_return::{{closure}}::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/return_type.rs:100:21
  68: stc_ts_file_analyzer::analyzer::Analyzer::with
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:562:9
  69: stc_ts_file_analyzer::analyzer::stmt::return_type::<impl stc_ts_file_analyzer::analyzer::Analyzer>::visit_stmts_for_return::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/return_type.rs:99:17
  70: stc_ts_file_analyzer::analyzer::stmt::return_type::<impl stc_ts_file_analyzer::analyzer::Analyzer>::visit_stmts_for_return
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/stmt/return_type.rs:93:26
  71: stc_ts_file_analyzer::analyzer::expr::function::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RArrowExpr> for stc_ts_file_analyzer::analyzer::Analyzer>::validate::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/expr/function.rs:95:59
  72: stc_ts_file_analyzer::analyzer::Analyzer::with_child_with_hook
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:609:23
  73: stc_ts_file_analyzer::analyzer::Analyzer::with_child
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/mod.rs:580:9
  74: stc_ts_file_analyzer::analyzer::expr::function::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RArrowExpr> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/expr/function.rs:30:9
  75: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  76: stc_ts_file_analyzer::analyzer::expr::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RExpr> for stc_ts_file_analyzer::analyzer::Analyzer>::validate::{{closure}}
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/expr/mod.rs:263:43
  77: stc_ts_file_analyzer::analyzer::expr::<impl stc_ts_file_analyzer::validator::Validate<stc_ts_ast_rnode::RExpr> for stc_ts_file_analyzer::analyzer::Analyzer>::validate
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/expr/mod.rs:143:22
  78: <T as stc_ts_file_analyzer::validator::ValidateWith<V>>::validate_with_args
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:124:9
  79: stc_ts_file_analyzer::validator::ValidateWith::validate_with_default
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/validator.rs:101:9
  80: stc_ts_file_analyzer::analyzer::visit_mut::<impl stc_visit::visit::Visit<stc_ts_ast_rnode::RExpr> for stc_ts_file_analyzer::analyzer::Analyzer>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_ts_file_analyzer/src/analyzer/visit_mut.rs:21:27
  81: <alloc::boxed::Box<T> as stc_visit::visit::VisitWith<V>>::visit_children_with
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:38:9
  82: <V as stc_visit::visit::Visit<T>>::visit
             at /Users/sunrabbit/Desktop/stc/crates/stc_visit/src/visit.rs:28:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    conformance::controlFlow::controlFlowIterationErrorsAsync.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant