abstract class Crystal::LiteralType
inherits Crystal::Type
¶
Direct known subclasses
Crystal::NumberLiteralType
Crystal::SymbolLiteralType
Methods¶
#check_restriction_exception
¶
Checks whether an exception needs to be raised because of a restriction failure. Only overwritten by literal types (NumberLiteralType and SymbolLiteralType) when they produce an ambiguous call.