Skip to content

struct Crystal::TypeDeclarationProcessor::Error
inherits Struct

Captures an error related to a type that can't be used for an instance/class/global variable. The node is used to give the error at its location.

Class methods

.new(node : ASTNode, type : Type)

View source

Methods

#clone

View source

#copy_with(node _node = @node, type _type = @type)

View source

#node : ASTNode

#type : Type