teal-language / tl

The compiler for Teal, a typed dialect of Lua
MIT License
2.02k stars 101 forks source link

hashbang, if exists and if wanted, stays on line 1 #730

Closed JLPLabs closed 6 months ago

JLPLabs commented 6 months ago

fixes 729 and adds the proposed test

github-actions[bot] commented 6 months ago

Teal Playground URL: https://730--teal-playground-preview.netlify.app

hishamhm commented 6 months ago

Thanks for the PR! That Windows CI error looks unrelated, but I'll still try to take a look at that prior to merging -- I'm on my phone right now but I'll look at this next time I'm at the computer.

hishamhm commented 6 months ago

I noticed another test case which indicated a need for a further adjustment, so I based the extra changes off your test case and merged it directly! Thanks!