View Issue Details

IDProjectCategoryView StatusLast Update
0003205Composr testing platform[All Projects] Generalpublic2019-12-01 22:53
ReporterChris GrahamAssigned To 
Severityfeature 
Status non-assignedResolutionopen 
Summary0003205: Re-work type system to not use 'mixed' types (on hold)
DescriptionEliminate 'mixed' types being ever set explicitly.

'mixed' should only occur when doing type analysis and finding a conflict.

Instead we will support union types. Union types will be carried with variables as an additional possibility than just a single type. The union type will never expand or switch-out, although a non-union type can become union if it has union assigned to it.

Any use of 'mixed' in phpdoc should be replaced with union types.

Any variable will be allowed to take a 'null' value.

The mixed() function can be removed.
Additional InformationThis will allow better robustness and removes the mixed() function which is currently used very inconsistently.
TagsNo tags attached.
Attach Tags
Time estimation (hours)24
Sponsorship open

Relationships

related to 0002747 non-assigned Composr PHP refresh (ongoing) 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-04-08 16:07 Chris Graham New Issue
2019-06-27 17:16 Chris Graham Summary Re-work type system => Re-work type system to not use 'mixed' types
2019-11-14 22:33 Chris Graham Relationship added related to 0002747
2019-12-01 22:53 Chris Graham Summary Re-work type system to not use 'mixed' types => Re-work type system to not use 'mixed' types (on hold)