You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parser: a tuple field access cannot be followed by '.' — t.0.len() and t.0.1 lex '0.x' as a float #1450
Inside a function after fn main the cascade also reports "file has both fn main and top-level executable statements", which is a follow-on of the parse failure, not a real problem.
Expected: t.0.len() calls len on the first element (prints 2); t.0.1 is the nested field (prints 2).
Workaround: (t.0).len().
Found while writing the #1406 fixtures (installed nightly-20260922-local-1-8c859a7d0559 and a stage1 of origin/main 1c76062).
Activity
Lexer: a number after `.` or `?.` is a tuple index, an integer, never…
Lexer: a number after `.` or `?.` is a tuple index, an integer, never…
ehartford commentedon Sep 26, 2026
Verified fixed on main 55739d4 (release binary): t.0.len() and t.0.1 print 2.