-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransformationError: Node type 'Global': Line: 37, column: 4. No transformation for the node #65
Comments
Hi @Morsmalleo, could you share the fragment of the code that generates the error? |
I sure can, I'll do that very soon for you :) |
Hi @azazel75 sorry it took me so long but here is the fragment of code you asked for from my
|
Unfortunately global declaration isn't something supported right now, anyway if those variables are defined in an outer scope, pj will not redefine them, for example:
if you don't want any |
Thank you for the information |
Being given this error when tryin to run
python3 -m metapensiero.pj source.py
Obviously this is being caused by my Python file at line 37, column 4, with "Global", are there anywork arounds for this does anyone know, or is there something I can tweak or add to metapensiero.pj to fix this, PS I am new to metapensiero.pj so go easy :)
source.py
to keep it simplesudo pip3 install git+https://github.com/metapensiero/metapensiero.pj
provided by a user on a seperate issuepython3 -m metapensiero.pj source.py
&python3 -m metapensiero.pj -5 source.py
The text was updated successfully, but these errors were encountered: