Index: src/GenPoly/Box.cc
===================================================================
--- src/GenPoly/Box.cc	(revision bf7b6015da57fcb865d542083eab5a8c10ea6d70)
+++ src/GenPoly/Box.cc	(revision 359f29ffd4790733ca07fe60867c2cef8aeacfc1)
@@ -229,5 +229,4 @@
 				} // if
 			} catch( SemanticError &e ) {
-				e.set_location( (*i)->location );
 				errors.append( e );
 			} // try
@@ -576,5 +575,5 @@
 						}
 					} else {
-						throw SemanticError( "Cannot pass non-struct type for generic struct: ", argBaseType );
+						throw SemanticError( argBaseType, "Cannot pass non-struct type for generic struct: " );
 					}
 				}
@@ -598,5 +597,5 @@
 					} else {
 						// xxx - should this be an assertion?
-						throw SemanticError( toString( *env, "\nunbound type variable: ", tyParm->first, " in application " ), appExpr );
+						throw SemanticError( appExpr, toString( *env, "\nunbound type variable: ", tyParm->first, " in application " ) );
 					} // if
 				} // if
