Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.hpp

    r39d8950 r1389810  
    1010// Created On       : Wed Jun 5 14:30:00 2019
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Wed Mar 16 15:22:00 2022
    13 // Update Count     : 3
     12// Last Modified On : Tue Oct  1  9:51:00 2019
     13// Update Count     : 2
    1414//
    1515
     
    2525namespace ResolvExpr {
    2626
    27 struct ResolveContext;
    28 
    2927/// Data to perform expression resolution
    3028struct CandidateFinder {
    3129        CandidateList candidates;          ///< List of candidate resolutions
    32         const ResolveContext & context;  ///< Information about where the canditates are being found.
     30        const ast::SymbolTable & localSyms;   ///< Symbol table to lookup candidates
    3331        const ast::TypeEnvironment & env;  ///< Substitutions performed in this resolution
    3432        ast::ptr< ast::Type > targetType;  ///< Target type for resolution
     
    3634
    3735        CandidateFinder(
    38                 const ResolveContext & context, const ast::TypeEnvironment & env,
     36                const ast::SymbolTable & syms, const ast::TypeEnvironment & env,
    3937                const ast::Type * tt = nullptr )
    40         : candidates(), context( context ), env( env ), targetType( tt ) {}
     38        : candidates(), localSyms( syms ), env( env ), targetType( tt ) {}
    4139
    4240        /// Fill candidates with feasible resolutions for `expr`
Note: See TracChangeset for help on using the changeset viewer.