So far, a type only exposes limited informations
It would be useful to add extra utilities, such as:
- converting a
runtimeType into a type (similar to TypeChecker from the analyzer)
- expose an utility to obtain the nearest common interface between two types (like num for double+int, but Object for String+int)
So far, a type only exposes limited informations
It would be useful to add extra utilities, such as:
runtimeTypeinto a type (similar toTypeCheckerfrom the analyzer)