mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-28 10:19:23 +00:00 
			
		
		
		
	fix generic example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									199ef30e0c
								
							
						
					
					
						commit
						f7691d34fd
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1366,10 +1366,10 @@ class JavaGenericExample | ||||||
|         System.out.println("EnumExample"); |         System.out.println("EnumExample"); | ||||||
|         Log.append("EnumExample"); |         Log.append("EnumExample"); | ||||||
| 
 | 
 | ||||||
|         Symbol name = ctx.mkSymbol("fruit"); |         Symbol name = ctx.mkSymbol("fruit2"); | ||||||
| 
 | 
 | ||||||
|         EnumSort<Object> fruit = ctx.mkEnumSort(name, ctx.mkSymbol("apple"), |         EnumSort<Object> fruit = ctx.mkEnumSort(name, ctx.mkSymbol("apple2"), | ||||||
|                 ctx.mkSymbol("banana"), ctx.mkSymbol("orange")); |                 ctx.mkSymbol("banana2"), ctx.mkSymbol("orange2")); | ||||||
| 
 | 
 | ||||||
|         System.out.println((fruit.getConsts()[0])); |         System.out.println((fruit.getConsts()[0])); | ||||||
|         System.out.println((fruit.getConsts()[1])); |         System.out.println((fruit.getConsts()[1])); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue