Describe the bug
There are currently several exceptions to structure being the base or any type in the current type checker. This leads to a lot of diagnostics that have little do with a program being wrong and more to do with the current type checker limitations.
To Reproduce
function example {
parameter a.
a:split(","). // <- warns split is not on structure
}
The user cannot directly construct a structure and is essentially produced by function boundaries, built in functions that can return anything or other bugs in the type checker.
Describe the bug There are currently several exceptions to structure being the base or any type in the current type checker. This leads to a lot of diagnostics that have little do with a program being wrong and more to do with the current type checker limitations.
To Reproduce
The user cannot directly construct a structure and is essentially produced by function boundaries, built in functions that can return anything or other bugs in the type checker.