fix Issue 13024 - [ICE](expression.c line 1172) with implicit supertype conversion of different enums in array literal
Merge pull request #3733 from 9rnsr/fix13024

[REG2.066a] Issue 13024 - [ICE](expression.c line 1172) with implicit supertype conversion of different enums in array literal
fix Issue 13006 - Allow inout return type without inout parameters