← All docs
class_alias() — internals
Compiler internals for class_alias(): lowering path, type checks, and runtime helpers.
class_alias() — internals
Where it lives
- Signature:
src/builtins/callables/class_alias.rs - Lowering:
src/codegen/lower_inst/builtins/types.rs:41 (lower_class_alias) - Function symbol:
lower_class_alias()
Lowering notes
- Lowers the defensive
class_alias()fallback that remains after AOT alias extraction.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function class_alias(string $class, string $alias, bool $autoload = true): bool
What the type checker enforces
- Arity: takes 2–3 arguments (1 optional).