lang_2023/tests/tuples.lang

9 lines
135 B
Text
Raw Normal View History

2023-05-13 14:54:48 +03:00
decl test_tuples : -> Unit
2023-03-31 12:10:12 +03:00
def test_tuples = {
var tuple1 = & "a" & 2 & "hello"
const & t1 & t2 & t3 = f: x
2023-03-31 12:10:12 +03:00
; tuple1`0 = "b"
2023-05-11 23:14:36 +03:00
2023-03-31 12:10:12 +03:00
}