abstract class Stacklang::Type::Any
- Stacklang::Type::Any
- Reference
- Object
Direct Known Subclasses
Defined in:
stacklang/compiler/types.crClass Method Summary
-
.solve_constraint(ast : AST::Type, types : Hash(String, Type::Struct), stack : Array(Type::Any) = [] of Type::Any) : Type::Any
Solve the constraint of a struct field and map it to the right type.
Instance Method Summary
Class Method Detail
def self.solve_constraint(ast : AST::Type, types : Hash(String, Type::Struct), stack : Array(Type::Any) = [] of Type::Any) : Type::Any
#
Solve the constraint of a struct field and map it to the right type.