Changeset 969ee0df
- Timestamp:
- Jun 22, 2017, 11:41:09 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9c90718
- Parents:
- e9a3b20b
- git-author:
- Rob Schluntz <rschlunt@…> (06/22/17 11:40:25)
- git-committer:
- Rob Schluntz <rschlunt@…> (06/22/17 11:41:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Specialize.cc
re9a3b20b r969ee0df 99 99 if ( FunctionType * fftype = getFunctionType( formalType ) ) { 100 100 if ( fftype->isTtype() ) return true; 101 // conversion of 0 (null) to function type does not require tuple specialization 102 if ( dynamic_cast< ZeroType * >( actualType ) ) return false; 101 103 FunctionType * aftype = getFunctionType( actualType ); 102 104 assertf( aftype, "formal type is a function type, but actual type is not." );
Note: See TracChangeset
for help on using the changeset viewer.