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
which will not work, as class Foo is effectively a const which can't be referenced in preceding code.
The minimally correct thing for Lebab to do, would be to not transform this code. Reorganizing the code to make it transformable will be quite a bit more difficult (the code example here representing just one possible scenario).
Really the core logic of class transform needs a rewrite to properly deal with variable scoping.
The text was updated successfully, but these errors were encountered:
The following code:
gets transformed to:
which will not work, as class Foo is effectively a
const
which can't be referenced in preceding code.The minimally correct thing for Lebab to do, would be to not transform this code. Reorganizing the code to make it transformable will be quite a bit more difficult (the code example here representing just one possible scenario).
Really the core logic of class transform needs a rewrite to properly deal with variable scoping.
The text was updated successfully, but these errors were encountered: