Changes in src/GenPoly/Box.cc [7b2c0a99:a28bc02]
- File:
-
- 1 edited
-
src/GenPoly/Box.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
r7b2c0a99 ra28bc02 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat May 13 09:26:38201713 // Update Count : 3 4112 // Last Modified On : Fri Mar 17 09:06:37 2017 13 // Update Count : 339 14 14 // 15 15 … … 706 706 Type *concrete = env->lookup( typeInst->get_name() ); 707 707 if ( concrete == 0 ) { 708 return typeInst;709 708 // xxx - should this be an assertion? 710 //std::string x = env ? toString( *env ) : "missing env";711 //throw SemanticError( x + "\n" + "Unbound type variable " + typeInst->get_name() + " in ", appExpr );709 std::string x = env ? toString( *env ) : "missing env"; 710 throw SemanticError( x + "\n" + "Unbound type variable " + typeInst->get_name() + " in ", appExpr ); 712 711 } // if 713 712 return concrete;
Note:
See TracChangeset
for help on using the changeset viewer.