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
Rust output uses (+x) and (~x), and neither unary operator exists in Rust, so the code fails to compile #97
StandardLanguageGenerator.GetUnaryOperatorSpelling (Coder/Languages/StandardLanguageGenerator.cs:747) falls back to the C-family symbols in OperatorSymbols (Coder/Ast/OperatorSymbols.cs:127-129): Plus => "+" and BitwiseNot => "~". Go and Python override the method where their spelling differs (GoGenerator.cs:258 writes ^ for bitwise not). RustGenerator does not override it.
Activity
matt-edmondson commentedon Sep 27, 2026
Triage
RustGenerator.GetUnaryOperatorSpelling). Owner: @matt-edmondsonRustGeneratorbut only for associated constants, so expect a trivial merge overlap. Note thatUnaryOperandSignTestscurrently asserts the invalid(+-1)Rust output, so that test changes as part of the fix.BitwiseNot => "!",Plus =>operand only), then correct the test expectation.Generated by Claude Code