a := error('hi')
typeof(a)
typeof(a)
typeof(a)
print(typeof(a))
print(typeof(a))
print(typeof(a))
===output===
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | println(typeof(a))
      |         ~~~~~~
IError
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | println(typeof(a))
      |         ~~~~~~
IError
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | println(typeof(a))
      |         ~~~~~~
IError
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | print(typeof(a))
      |       ~~~~~~
IError
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | print(typeof(a))
      |       ~~~~~~
IError
warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead
    6 | 
    7 | a := error('hi')
    8 | print(typeof(a))
      |       ~~~~~~
IError