dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 1 forks source link

Setting a value to the result of calling a void procedure is not detected in the type checker #250

Closed dplassgit closed 1 year ago

dplassgit commented 1 year ago
f:proc() {
}
print f()

is not detected in the type checker, but it is found in NasmCodeGenerator...