View Issue Details

IDProjectCategoryView StatusLast Update
0030391RunnerWindows (YYC)Public2019-02-26 16:06
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindows (YYC)OSOS Version
Product Version2.2.1 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030391: Windows (YYC): Ternary operators don't work due to conversion issues
DescriptionWriting simple code such as:

var arg0 = 5;
return (arg0 > 0 ? arg0 : -arg0)

Will throw the following error on YYC:

Z:/TargetYYCC_71D82E2F_A6730216/TargetYYCCompileFailure/default/Scripts/gml_Script_e5_varint_int.gml.cpp:18:40: error: conditional expression is ambiguous; 'YYRValue' can be converted to 'double' and vice versa
_result = ((/* local */local_arg0 > 0) ? /* local */local_arg0 : -/* local */local_arg0.asReal());
Steps To Reproduce1) Run the sample
1.4 Found In
2.x Runtime Found In2.2.2.293
2.x Runtime Verified In2.2.2.310


Stewart Bishop

2019-01-08 16:09


TargetYYCCompileFailure.yyz (16,611 bytes)

Russell Kay

2019-01-09 08:52

Manager   ~0062401

Fixed in gitlab


2019-02-01 11:46

Adminstrator   ~0062628

Added to runtime 303+.