mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	add await
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									212a0657a2
								
							
						
					
					
						commit
						1155ea69a1
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -503,7 +503,8 @@ export function createApi(Z3: Z3Core): Z3HighLevel {
 | 
			
		|||
    ///////////////////////////////
 | 
			
		||||
 | 
			
		||||
    async function simplify(e : Expr<Name>) {
 | 
			
		||||
       return _toExpr(check(Z3.simplify(contextPtr, e.ast)));
 | 
			
		||||
       const result = await Z3.simplify(contextPtr, e.ast)       
 | 
			
		||||
       return _toExpr(check(result));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /////////////
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue