(
builder: IRBuilder, ir: ClassIR, non_ext: NonExtClassInfo, line: int
)
| 903 | |
| 904 | |
| 905 | def load_non_ext_class( |
| 906 | builder: IRBuilder, ir: ClassIR, non_ext: NonExtClassInfo, line: int |
| 907 | ) -> Value: |
| 908 | cls_name = builder.load_str(ir.name) |
| 909 | |
| 910 | add_dunders_to_non_ext_dict(builder, non_ext, line) |
| 911 | |
| 912 | class_type_obj = builder.py_call( |
| 913 | non_ext.metaclass, [cls_name, non_ext.bases, non_ext.dict], line |
| 914 | ) |
| 915 | return class_type_obj |
| 916 | |
| 917 | |
| 918 | def load_decorated_class(builder: IRBuilder, cdef: ClassDef, type_obj: Value) -> Value: |
no test coverage detected
searching dependent graphs…