From f70cea508cd30fa40770ea989fe2a19e715a357b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 30 Dec 2022 15:13:28 +0100 Subject: Remove index syntax in favor of accessor methods --- tests/typ/compiler/methods.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/compiler/methods.typ') diff --git a/tests/typ/compiler/methods.typ b/tests/typ/compiler/methods.typ index 07f6e410..f468320b 100644 --- a/tests/typ/compiler/methods.typ +++ b/tests/typ/compiler/methods.typ @@ -9,7 +9,7 @@ // Test mutating indexed value. { let matrix = (((1,), (2,)), ((3,), (4,))) - matrix(1)(0).push(5) + matrix.at(1).at(0).push(5) test(matrix, (((1,), (2,)), ((3, 5), (4,)))) } -- cgit v1.2.3