Is self use restricted?

  • no explicit self
  • method called on the implicit self must be top-level Currently only used for new factory since there is no valid receiver inside

Property definitions

nitc $ TypeVisitor :: is_toplevel_context
	# Is `self` use restricted?
	# * no explicit `self`
	# * method called on the implicit self must be top-level
	# Currently only used for `new` factory since there is no valid receiver inside
	var is_toplevel_context = false
src/semantize/typing.nit:53,2--57,32