// A tuple literal used in a type position (`(i32, i32)` reinterpreted as a tuple // type at a type-demanding site like `size_of`) must list only types. A non-type // element — here the `1` in `(i32, 1)` — is rejected with a user-facing // diagnostic instead of silently fabricating an `i64` field for that slot. // Regression (issue 0067). // Expected: a clean "tuple type element is not a type" error at the `1`; exit 1. #import "modules/std.sx"; main :: () -> i32 { print("bad tuple type size = {}\n", size_of((i32, 1))); 0 }