| 1 | a := error('hi') |
| 2 | typeof(a) |
| 3 | typeof(a) |
| 4 | typeof(a) |
| 5 | print(typeof(a)) |
| 6 | print(typeof(a)) |
| 7 | print(typeof(a)) |
| 8 | ===output=== |
| 9 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 10 | 6 | |
| 11 | 7 | a := error('hi') |
| 12 | 8 | println(typeof(a)) |
| 13 | | ~~~~~~ |
| 14 | IError |
| 15 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 16 | 6 | |
| 17 | 7 | a := error('hi') |
| 18 | 8 | println(typeof(a)) |
| 19 | | ~~~~~~ |
| 20 | IError |
| 21 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 22 | 6 | |
| 23 | 7 | a := error('hi') |
| 24 | 8 | println(typeof(a)) |
| 25 | | ~~~~~~ |
| 26 | IError |
| 27 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 28 | 6 | |
| 29 | 7 | a := error('hi') |
| 30 | 8 | print(typeof(a)) |
| 31 | | ~~~~~~ |
| 32 | IError |
| 33 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 34 | 6 | |
| 35 | 7 | a := error('hi') |
| 36 | 8 | print(typeof(a)) |
| 37 | | ~~~~~~ |
| 38 | IError |
| 39 | warning: use e.g. `typeof(expr).name` or `sum_type_instance.type_name()` instead |
| 40 | 6 | |
| 41 | 7 | a := error('hi') |
| 42 | 8 | print(typeof(a)) |
| 43 | | ~~~~~~ |
| 44 | IError |