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