Ignore:
Timestamp:
Nov 13, 2023, 1:40:12 PM (8 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
6ea85b22
Parents:
25f2798
Message:

Removed forward declarations missed in the BaseSyntaxNode? removal. Removed code and modified names to support two versions of the ast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/FindOpenVars.cc

    r25f2798 r0bd3faf  
    2525
    2626        namespace {
    27                 struct FindOpenVars_new final : public ast::WithGuards {
     27                struct FindOpenVars final : public ast::WithGuards {
    2828                        ast::OpenVarSet & open;
    2929                        ast::OpenVarSet & closed;
     
    3333                        bool nextIsOpen;
    3434
    35                         FindOpenVars_new(
     35                        FindOpenVars(
    3636                                ast::OpenVarSet & o, ast::OpenVarSet & c, ast::AssertionSet & n,
    3737                                ast::AssertionSet & h, ast::TypeEnvironment & env, FirstMode firstIsOpen )
     
    7373                        const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed,
    7474                        ast::AssertionSet & need, ast::AssertionSet & have, ast::TypeEnvironment & env, FirstMode firstIsOpen ) {
    75                 ast::Pass< FindOpenVars_new > finder{ open, closed, need, have, env, firstIsOpen };
     75                ast::Pass< FindOpenVars > finder{ open, closed, need, have, env, firstIsOpen };
    7676                type->accept( finder );
    7777
Note: See TracChangeset for help on using the changeset viewer.