Skip to content

Commit 093156d

Browse files
Type of Any.type is again Any.type
1 parent ea61947 commit 093156d

File tree

1 file changed

+2
-0
lines changed
  • engine/runtime-integration-tests/src/test/java/org/enso/interpreter/node/expression/builtin/meta

1 file changed

+2
-0
lines changed

engine/runtime-integration-tests/src/test/java/org/enso/interpreter/node/expression/builtin/meta/TypeChainTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ public void anyChain() {
9494
public void anyEigeintypeChain() {
9595
var any = ctx.ensoContext().getBuiltins().any();
9696
var anyType = typeOf.execute(any);
97+
assertEquals("Any.type", anyType.toString());
9798
var anyTypeType = typeOf.execute(anyType);
99+
assertEquals("Type of Any.type is again Any.type", anyType, anyTypeType);
98100
var raw = (Type) ctx.unwrapValue(anyTypeType);
99101
var all = raw.allTypes(ctx.ensoContext());
100102

0 commit comments

Comments
 (0)