python: The MaD token Instance now follows subclasses

This commit is contained in:
Rasmus Lerchedahl Petersen
2024-05-14 08:40:19 +02:00
parent 6233da3e40
commit 52717f8500
4 changed files with 8 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ isSource
| test.py:39:11:39:20 | ControlFlowNode for Await | test-source |
| test.py:41:8:41:27 | ControlFlowNode for Attribute() | test-source |
| test.py:46:7:46:16 | ControlFlowNode for SubClass() | test-source |
| test.py:51:8:51:18 | ControlFlowNode for Sub2Class() | test-source |
| test.py:53:7:53:16 | ControlFlowNode for Attribute() | test-source |
| test.py:60:13:60:16 | ControlFlowNode for self | test-source |
| test.py:60:24:60:28 | ControlFlowNode for named | test-source |

View File

@@ -48,7 +48,7 @@ sub = SubClass()
class Sub2Class (CommonTokens.Class):
pass
sub2 = Sub2Class() # TODO: Currently not recognized as an instance of CommonTokens.Class
sub2 = Sub2Class()
val = inst.foo()