# The length of the type seen as a tree.
#
# * A -> 1
# * G[A] -> 2
# * H[A, B] -> 3
# * H[G[A], B] -> 4
#
# Formal types have a length of 1.
# Only `MClassType` and `MFormalType` nodes are counted.
fun length: Int
do
return 1
end
src/model/model.nit:1238,2--1250,4