-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
A-ASTArea: Abstract Syntax Tree generation (AST)Area: Abstract Syntax Tree generation (AST)S-Decision-NeededStatus: A decision needs to be made (e.g. how to implement it, refactor or not)Status: A decision needs to be made (e.g. how to implement it, refactor or not)T-refactorRefactorRefactor
Description
Maybe separate SetAttr, SetItem, SetVar in AST could be useful (instead of general AstAssign).
There is often completely different functionality for these (e.g. in type checking, code gen).
(Although Python doesn't separate it for a reason?)
- Decide whether to do this at all
- Add the classes
- Update
AstGen - Update snapshot tests
- Update typechecker (if done by then)
Metadata
Metadata
Assignees
Labels
A-ASTArea: Abstract Syntax Tree generation (AST)Area: Abstract Syntax Tree generation (AST)S-Decision-NeededStatus: A decision needs to be made (e.g. how to implement it, refactor or not)Status: A decision needs to be made (e.g. how to implement it, refactor or not)T-refactorRefactorRefactor