Stabel

View Ticket
Login
2021-08-05
15:15 Closed ticket [867c88c442]: Stack ranges should not be allowed within unions plus 3 other changes artifact: 988c60d9a5 user: robin.hansen
2020-10-08
04:17 New ticket [867c88c442]. artifact: 293b3a8472 user: robin.hansen

Ticket UUID: 867c88c442c4ca2a200a3a0c6e1d42cfde14b142
Title: Stack ranges should not be allowed within unions
Status: Closed Type: Bug
Severity: Important System: Compiler
Resolution: Fixed Modified: 2021-08-05 15:15:58
User Comments:
robin.hansen added on 2020-10-08 04:17:17:
Stack ranges (a...) should be forbidden inside of unions, as unions represent _one_ type and not a range of types.

In light of this, the type inference should take this into account and consider inferred ranges inside of unions as generics instead.