Using the :
operator during method definition results in faulty minifying
#119
Labels
bug
Something isn't working
When
:
is used during function definition, all instances of theself
keyword are minified. Due to the:
operator needing the self keyword to be referenced, this results in an error being thrown of the newself
minification being a nil global.Two suggested solutions: prevent the user from defining functions using the
:
symbol, or internally convert all:
definitions into their (still functional)function Table.foo(self, bar)
form, whilst still minifyingself
into a smaller name.The text was updated successfully, but these errors were encountered: