mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 17:52:58 +01:00
This PR implements the `returned var` for the explorer. - Enabled `returned var` and `return var` syntax in lexer and parser. - Split `Return` statement into `ReturnVar` and `ReturnExpression` to distinguish the two types of returns. - Added logic in name resolution, type checking and interpretation to process `returned var` definition and `ReturnVar` statement.