andremm / typedlua

An Optional Type System for Lua
565 stars 53 forks source link

No error on ignored file types #81

Closed Veltas closed 8 years ago

Veltas commented 8 years ago

(I am completely new to this so forgive me if this isn't a valid issue)

When you pass a file with an extension that isn't e.g. .tl it silently ignores this and does nothing. It should print an error or some kind of diagnostic to suggest you pass a file with the correct extension, or give some kind of indication to the user that they need to use a specific file extension.

For example, tlc hello.typedlua just ignores that parameter and does nothing.

Veltas commented 8 years ago

Fixed in https://github.com/andremm/typedlua/issues/85