degory / ghul

compiler for the ghūl programming language
https://ghul.dev
GNU Affero General Public License v3.0
4 stars 0 forks source link

Lambdas cannot infer `void` return type #1163

Closed degory closed 7 months ago

degory commented 7 months ago

It should not be necessary to specify explicit void return type for lambdas that return void

let do_something = () => write_line("something");