You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MoonScript supports syntax such as t.for and gets translated to t["for"], it happens in table construction and other places as well. This however, isn't the case for indexes such as @for or @@function, which get translated into self.for and self.__class.function respectively, without escaping them.
The expected result is self["for"] and self.__class["function"].