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
When using local in class block the declaration should be hoisted top so methods can access it. This already works correctly with assign, as seen in second example
class Something
local thing
new: =>
print thing
class Something
thing = nil
new: =>
print thing
The text was updated successfully, but these errors were encountered:
When using
local
in class block the declaration should be hoisted top so methods can access it. This already works correctly with assign, as seen in second exampleThe text was updated successfully, but these errors were encountered: