What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fixes #120 by allowing structure to be applied in more places.
What is the current behavior? (You can also link to an open issue here)
Several locations considered structure an error. This is in almost all cases incorrect because it indicates a location the type checking couldn't infer the type. This lead to many false positives.
What is the new behavior (if this is a feature change)?
The following places allow structures now
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Fixes #120 by allowing structure to be applied in more places.
What is the current behavior? (You can also link to an open issue here) Several locations considered structure an error. This is in almost all cases incorrect because it indicates a location the type checking couldn't infer the type. This lead to many false positives.
What is the new behavior (if this is a feature change)? The following places allow structures now
calls on a structure
indexing a structure
binary operation between two structures