lang_2023/tests/tuples.lang

9 lines
142 B
Text
Raw Normal View History

2023-03-31 12:10:12 +03:00
decl test_tuples : Unit -> Unit
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-03-31 12:10:12 +03:00
}