Skip to content

Commit f7691d3

Browse files
fix generic example
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 199ef30 commit f7691d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/java/JavaGenericExample.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1366,10 +1366,10 @@ public void enumExampleUntyped(Context ctx) throws TestFailedException
13661366
System.out.println("EnumExample");
13671367
Log.append("EnumExample");
13681368

1369-
Symbol name = ctx.mkSymbol("fruit");
1369+
Symbol name = ctx.mkSymbol("fruit2");
13701370

1371-
EnumSort<Object> fruit = ctx.mkEnumSort(name, ctx.mkSymbol("apple"),
1372-
ctx.mkSymbol("banana"), ctx.mkSymbol("orange"));
1371+
EnumSort<Object> fruit = ctx.mkEnumSort(name, ctx.mkSymbol("apple2"),
1372+
ctx.mkSymbol("banana2"), ctx.mkSymbol("orange2"));
13731373

13741374
System.out.println((fruit.getConsts()[0]));
13751375
System.out.println((fruit.getConsts()[1]));

0 commit comments

Comments
 (0)