aardappel / lobster

The Lobster Programming Language
http://strlen.com/lobster
2.29k stars 120 forks source link

Print builtin function returns and parse it in lsp #321

Closed inferrna closed 2 months ago

inferrna commented 3 months ago

Print builtin function returns in format funcname(param: type) -> (typeA, typeB)

also fixes lsp crash on lookup for user function (was failed to parse returns)

image (above highlight is somewhat broken, but I didn't touch it) image

ewoudje commented 2 months ago

LGTM

aardappel commented 2 months ago

LGTM on the C++ part.. @ewoudje can you check the last TS changes?