tlang/source/tlang
Tristan B. Velloza Kildaire 821b950993 Parser
- Only check that a `ReturnStmt` is present in a function definition when `wantsBody` is true ELSE we'd expect it for `efunc` `extern`'d statements
- Fixed a unit test which had a missing `return <expr>`
- Added a unit test which tests for a function definition with a body with a non-void return type that it DOES fail
- Removed two now-completed TODOs and FIXMEs

Test cases

- Fixed test case in `typecheck/simple_function_call.t` to now include the required `return <expr>` statements
2023-07-16 15:55:09 +02:00
..
commandline Commands 2023-07-10 14:46:20 +02:00
compiler Parser 2023-07-16 15:55:09 +02:00
misc Utils 2022-12-12 16:39:57 +02:00
testing Parser 2023-07-16 15:55:09 +02:00
app.d Packaging 2023-02-05 20:21:26 +02:00