mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	z3str3: fail early on non-string sequence terms
This commit is contained in:
		
							parent
							
								
									d70b63c8ac
								
							
						
					
					
						commit
						fe7a7fe23f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8483,6 +8483,10 @@ namespace smt {
 | 
			
		|||
                }
 | 
			
		||||
            }
 | 
			
		||||
        } else {
 | 
			
		||||
            if (u.str.is_non_string_sequence(ex)) {
 | 
			
		||||
                TRACE("str", tout << "ERROR: Z3str3 does not support non-string sequence terms. Aborting." << std::endl;);
 | 
			
		||||
                m.raise_exception("Z3str3 does not support non-string sequence terms.");
 | 
			
		||||
            }
 | 
			
		||||
            TRACE("str", tout << "setting up axioms for " << mk_ismt2_pp(ex, get_manager()) <<
 | 
			
		||||
                  ": expr is of wrong sort, ignoring" << std::endl;);
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue