class Steep::AST::Types::Self

def ==(other)

def ==(other)
  other.is_a?(Self)
end

def free_variables

def free_variables
  Set.new
end

def hash

def hash
  self.class.hash
end

def initialize(location: nil)

def initialize(location: nil)
  @location = location
end

def level

def level
  [0]
end

def subst(s)

def subst(s)
  s.self_type or raise "Unexpected substitution: #{inspect}"
end

def to_s

def to_s
  "self"
end

def with_location(new_location)

def with_location(new_location)
  self.class.new(location: new_location)
end