Changeset 7b5694d for src/ResolvExpr/Unify.h
- Timestamp:
- Jan 17, 2023, 2:05:52 PM (19 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- fed6a0f
- Parents:
- e563edf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.h
re563edf r7b5694d 85 85 const ast::TypeEnvironment & env = {} ); 86 86 87 /// Creates the type represented by the list of returnVals in a FunctionType. 88 /// The caller owns the return value. 89 Type * extractResultType( FunctionType * functionType ); 90 /// Creates or extracts the type represented by returns in a `FunctionType`. 91 ast::ptr<ast::Type> extractResultType( const ast::FunctionType * func ); 92 93 std::vector<ast::ptr<ast::Type>> flattenList( 94 const std::vector<ast::ptr<ast::Type>> & src, ast::TypeEnvironment & env 95 ); 96 87 97 } // namespace ResolvExpr 88 98
Note: See TracChangeset
for help on using the changeset viewer.