mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	add exception handling for rewriter exceptions
This commit is contained in:
		
							parent
							
								
									1815812889
								
							
						
					
					
						commit
						b0247d8201
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		|  | @ -102,8 +102,13 @@ public: | |||
|         statistics_report sreport(*this); | ||||
|         tactic_report report(name(), *in); | ||||
|         m_goal = in.get(); | ||||
|         if (!in->proofs_enabled()) | ||||
|             m_simp->reduce(); | ||||
|         try { | ||||
|             if (!in->proofs_enabled()) | ||||
|                 m_simp->reduce(); | ||||
|         } | ||||
|         catch (rewriter_exception& ex) { | ||||
|             throw tactic_exception(ex.msg()); | ||||
|         } | ||||
|         m_goal->elim_true(); | ||||
|         m_goal->elim_redundancies(); | ||||
|         m_goal->inc_depth(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue