Shuffle names as <-> to

This commit is contained in:
Christoffer Lerno
2025-12-16 16:15:01 +01:00
parent e49e3e32e7
commit 996f8a6a4d
2 changed files with 4 additions and 4 deletions

View File

@@ -15,8 +15,8 @@ fn void any_to_as()
{
int x = 3;
any a = &x;
test::eq(a.to(int), 3);
test::eq(a.as(int)!!, 3);
test::eq(a.as(int), 3);
test::eq(a.to(int)!!, 3);
}
fn void test_aliasing()