Changes in / [1cf2a9b:e068c8a]
- Location:
- src
- Files:
-
- 2 edited
-
AST/TypeSubstitution.hpp (modified) (1 diff)
-
ResolvExpr/Unify.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r1cf2a9b re068c8a 46 46 template< typename SynTreeClass > 47 47 struct ApplyResult { 48 // const SynTreeClass * node; 49 ast::ptr<SynTreeClass> node; 48 const SynTreeClass * node; 50 49 int count; 51 50 }; -
src/ResolvExpr/Unify.cc
r1cf2a9b re068c8a 170 170 ast::ptr< ast::Type > t2_(newSecond); 171 171 172 ast::ptr< ast::Type > subFirst = env.apply(newFirst).node;173 ast::ptr< ast::Type > subSecond = env.apply(newSecond).node;174 175 172 return unifyExact( 176 subFirst,177 subSecond,173 env.apply( newFirst ).node, 174 env.apply( newSecond ).node, 178 175 newEnv, need, have, open, noWiden(), symtab ); 179 176 }
Note:
See TracChangeset
for help on using the changeset viewer.