Add tuple type variable decleration
This commit is contained in:
@@ -42,6 +42,10 @@ pub void test_let_repeat_typed()
|
||||
f64 f, f1 = (3.14, 5.5);
|
||||
assert_eq!(f, 3.14);
|
||||
assert_eq!(f1, 5.5);
|
||||
|
||||
(i32, f64) as a, b = (70, 1.4);
|
||||
assert_eq!(a, 70);
|
||||
assert_eq!(b, 1.4);
|
||||
}
|
||||
|
||||
pub void test_let_mut()
|
||||
|
||||
Reference in New Issue
Block a user